Skip to content

Commit

Permalink
lint({opl/,}cluster_read.py): Avoid lint in recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomh committed Jan 12, 2024
1 parent 2c0a930 commit 40f5c30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/opl/cluster_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from . import data
from . import date
from tenacity import *
from tenacity import * # noqa: F403


def execute(command):
Expand Down Expand Up @@ -179,7 +179,7 @@ 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
Expand Down
4 changes: 2 additions & 2 deletions opl/cluster_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from . import data
from . import date
from tenacity import *
from tenacity import * # noqa: F403


def execute(command):
Expand Down Expand Up @@ -179,7 +179,7 @@ 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,E0602
def measure(self, ri, name, grafana_target):
assert (
ri.start is not None and ri.end is not None
Expand Down

0 comments on commit 40f5c30

Please sign in to comment.