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 Change-Id: I18babfaae830b13a53dcd13ce9233fc28652a787
This commit is contained in:
parent
7a5dc9c8e9
commit
21bcd08370
4
tox.ini
4
tox.ini
|
@ -131,7 +131,9 @@ commands =
|
|||
oslo-config-generator --config-file etc/magnum/magnum-config-generator.conf
|
||||
|
||||
[flake8]
|
||||
enable-extensions = H203
|
||||
# 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,*lib/python*,*egg,build,tools,releasenotes
|
||||
|
||||
[hacking]
|
||||
|
|
Loading…
Reference in New Issue