Enable some off-by-default checks
Some of 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: I73368bc191746e9ba30d205f9f36722f8e3eb5f6
This commit is contained in:
parent
8a2b664a49
commit
609ef0c41f
4
tox.ini
4
tox.ini
@ -89,6 +89,10 @@ commands = python setup.py build_sphinx
|
||||
ignore = E125,E126,E128,E129,E251,E265,E713,F402,F811,F812,H104,H237,H305,H307,H401,H402,H404,H405,N530,N531,N537
|
||||
show-source = true
|
||||
builtins = _
|
||||
|
||||
# H106: Don’t put vim configuration in source files
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
enable-extensions = H106,H203
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,
|
||||
|
||||
[hacking]
|
||||
|
Loading…
Reference in New Issue
Block a user