diff --git a/core/opl/cluster_read.py b/core/opl/cluster_read.py index fe646e3..a9c1c4c 100755 --- a/core/opl/cluster_read.py +++ b/core/opl/cluster_read.py @@ -14,7 +14,7 @@ from . import data from . import date -from tenacity import * +from tenacity import * # noqa: F403 def execute(command): @@ -179,7 +179,9 @@ def _sanitize_target(self, target): target = target.replace("$Cloud", self.args.grafana_prefix) return target - @retry(stop=(stop_after_delay(10) | stop_after_attempt(10))) + @retry( + stop=(stop_after_delay(10) | stop_after_attempt(10)) + ) # pylint: disable=undefined-variable # noqa: F405 def measure(self, ri, name, grafana_target): assert ( ri.start is not None and ri.end is not None diff --git a/opl/cluster_read.py b/opl/cluster_read.py index fe646e3..a9c1c4c 100755 --- a/opl/cluster_read.py +++ b/opl/cluster_read.py @@ -14,7 +14,7 @@ from . import data from . import date -from tenacity import * +from tenacity import * # noqa: F403 def execute(command): @@ -179,7 +179,9 @@ def _sanitize_target(self, target): target = target.replace("$Cloud", self.args.grafana_prefix) return target - @retry(stop=(stop_after_delay(10) | stop_after_attempt(10))) + @retry( + stop=(stop_after_delay(10) | stop_after_attempt(10)) + ) # pylint: disable=undefined-variable # noqa: F405 def measure(self, ri, name, grafana_target): assert ( ri.start is not None and ri.end is not None