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: Ie73e001aa632b771693f7bed98cfadcb495940f0
This commit is contained in:
parent
4f46b53a53
commit
8b70e73c86
3
tox.ini
3
tox.ini
|
@ -28,7 +28,10 @@ commands = oslo_debug_helper {posargs}
|
|||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
# [H106] Don’t put vim configuration in source files
|
||||
# [H203] Use assertIs(Not)None to check for None
|
||||
show-source = True
|
||||
enable-extensions = H106,H203
|
||||
ignore = E123,E125
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
|
|
Loading…
Reference in New Issue