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: I553460a231ee27b63220c1540b39fd213e79e032
This commit is contained in:
parent
928b053c00
commit
160456f438
3
tox.ini
3
tox.ini
@ -79,7 +79,10 @@ commands = python setup.py build_sphinx
|
||||
# N530 direct neutron imports not allowed
|
||||
# TODO(ihrachys) -- reenable N537 when new neutron-lib release is available
|
||||
# N537 Log messages should not be translated
|
||||
# H106 Don’t put vim configuration in source files
|
||||
# H203 Use assertIs(Not)None to check for None
|
||||
ignore = E125,E126,E128,E129,E265,H404,H405,N530,N537
|
||||
enable-extensions=H106,H203
|
||||
show-source = true
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios
|
||||
import-order-style = pep8
|
||||
|
Loading…
Reference in New Issue
Block a user