Merge "Enable Bugbear Errors in Flake8"

This commit is contained in:
Zuul 2019-03-28 17:57:12 +00:00 committed by Gerrit Code Review
commit 4df7aeb120
1 changed files with 2 additions and 3 deletions

View File

@ -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 Dont 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).