Enable some off-by-default checks
Some of the available checks are disabled by default, like: [H106] Don’t put vim configuration in source files [H203] Use assertIs(Not)None to check for None Change-Id: Ie38ec248651b57f2f2886cf90366cbf13673ffaf
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -130,8 +130,10 @@ commands = sphinx-build -W -b html doc/source doc/build/html
|
||||
# TODO(ihrachys) reenable N537 when new neutron-lib release is available
|
||||
# N537 Log messages should not be translated
|
||||
ignore = E125,E126,E128,E129,E265,H404,H405,N530,N534,N536,N537
|
||||
# H106: Don’t put vim configuration in source files
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
# H904: Delay string interpolations at logging calls
|
||||
enable-extensions=H904
|
||||
enable-extensions=H106,H203,H904
|
||||
show-source = true
|
||||
exclude = ./.*,build,dist,doc
|
||||
|
||||
|
Reference in New Issue
Block a user