Bump hacking
hacking 3.0.x is too old. Change-Id: Ia580fbe0e6667a8c124000a35eea9740c1d5361c
This commit is contained in:
parent
d4701463a6
commit
00399e43e5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user