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: Ic641fcc099ce51ee4c03b0ce17a6f57d326dfd3f
This commit is contained in:
parent
e2403f02c7
commit
f4faf2a869
3
tox.ini
3
tox.ini
@ -82,6 +82,9 @@ commands = pifpaf -g AODH_TEST_STORAGE_URL run postgresql -- oslo_debug_helper {
|
||||
[flake8]
|
||||
ignore =
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,install-guide
|
||||
# [H106] Don't put vim configuration in source files.
|
||||
# [H203] Use assertIs(Not)None to check for None.
|
||||
enable-extensions=H106,H203
|
||||
show-source = True
|
||||
|
||||
[hacking]
|
||||
|
Loading…
Reference in New Issue
Block a user