Bump hacking

The version currently used is too old.

Change-Id: I4b8163ce2766198636924c33f9a88576cd09a96f
This commit is contained in:
Takashi Kajinami 2024-01-16 18:20:05 +09:00
parent 77271725d6
commit aa64120ba2
2 changed files with 5 additions and 5 deletions

View File

@ -139,7 +139,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
@ -149,7 +149,7 @@ def no_xrange(logical_line):
O340
"""
if assert_no_xrange_re.match(logical_line):
yield(0, "O340: Do not use xrange().")
yield (0, "O340: Do not use xrange().")
@core.flake8ext
@ -213,7 +213,7 @@ def check_no_basestring(logical_line):
if re.search(r"\bbasestring\b", logical_line):
msg = ("O343: basestring is not Python3-compatible, use "
"six.string_types instead.")
yield(0, msg)
yield (0, msg)
@core.flake8ext

View File

@ -2,13 +2,13 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
hacking>=3.0.1,<3.1.0 # Apache-2.0
hacking>=6.1.0,<6.2.0 # Apache-2.0
requests-mock>=1.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
Pygments>=2.2.0 # BSD license
bandit!=1.6.0,>=1.1.0 # Apache-2.0
flake8-import-order==0.12 # LGPLv3
flake8-import-order>=0.18.0,0.19.0 # LGPLv3
pylint>=2.5.3 # GPLv2
python-subunit>=1.0.0 # Apache-2.0/BSD
oslotest>=3.2.0 # Apache-2.0