Merge "Enable Bugbear Errors in Flake8"
This commit is contained in:
commit
4df7aeb120
5
tox.ini
5
tox.ini
@ -30,9 +30,8 @@ commands =
|
||||
|
||||
[flake8]
|
||||
# H102 Apache 2.0 license header not found
|
||||
# B301 Python 3 does not include `.iter*` methods on dictionaries.
|
||||
# B005 Using .strip() with multi-character strings is misleading the reader.
|
||||
ignore = H102, B301, B005
|
||||
# NOTE(Eric Barrett): H102 raises a false positive when using the SPDX license header
|
||||
ignore = H102
|
||||
# H106 Don’t put vim configuration in source files (off by default).
|
||||
# H203 Use assertIs(Not)None to check for None (off by default).
|
||||
# H904 Delay string interpolations at logging calls (off by default).
|
||||
|
Loading…
Reference in New Issue
Block a user