Merge "Enable some off-by-default checks"
This commit is contained in:
commit
d7e46d7afe
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