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 authored and jhutar committed Jan 14, 2024
1 parent d2c844d commit 13dcf3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 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,8 @@ 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)))
# pylint: disable-next=undefined-variable
@retry(stop=(stop_after_delay(10) | stop_after_attempt(10))) # noqa: F405
def measure(self, ri, name, grafana_target):
assert (
ri.start is not None and ri.end is not None
Expand Down
5 changes: 3 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,8 @@ 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)))
# pylint: disable-next=undefined-variable
@retry(stop=(stop_after_delay(10) | stop_after_attempt(10))) # noqa: F405
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 13dcf3a

Please sign in to comment.