diff --git a/octavia_lib/hacking/checks.py b/octavia_lib/hacking/checks.py index 220591c..00ec257 100644 --- a/octavia_lib/hacking/checks.py +++ b/octavia_lib/hacking/checks.py @@ -185,7 +185,7 @@ def no_log_warn(logical_line): O339 """ if logical_line.startswith('LOG.warn('): - yield(0, "O339:Use LOG.warning() rather than LOG.warn()") + yield (0, "O339:Use LOG.warning() rather than LOG.warn()") @core.flake8ext @@ -248,7 +248,7 @@ def check_no_basestring(logical_line): if no_basestring_re.search(logical_line): msg = ("O343: basestring is not Python3-compatible, use " "str instead.") - yield(0, msg) + yield (0, msg) @core.flake8ext diff --git a/test-requirements.txt b/test-requirements.txt index 0fab264..7406e03 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,4 @@ -hacking>=3.0.1,<3.1.0 # Apache-2.0 +hacking>=6.1.0,<6.2.0 # Apache-2.0 bandit!=1.6.0,>=1.1.0 # Apache-2.0 coverage>=4.0,!=4.4 # Apache-2.0