Fix copy-paste error in hacking checks
N344 was shown as N343 Change-Id: Ia257c3a19751f6d84d33516fe58bfd83b33c15da
This commit is contained in:
parent
0904fa7a48
commit
67882e5f19
|
@ -369,7 +369,7 @@ def check_no_imports_from_tests(logical_line, filename, noqa):
|
|||
def check_python3_no_filter(logical_line):
|
||||
"""N344 - Use list comprehension instead of filter(lambda)."""
|
||||
|
||||
msg = ("N343: Use list comprehension instead of "
|
||||
msg = ("N344: Use list comprehension instead of "
|
||||
"filter(lambda obj: test(obj), data) on python3.")
|
||||
|
||||
if filter_match.match(logical_line):
|
||||
|
|
Loading…
Reference in New Issue