Merge "Enable some off-by-default checks"
This commit is contained in:
commit
68e4056ed4
3
tox.ini
3
tox.ini
@ -60,8 +60,11 @@ commands =
|
|||||||
oslo-config-generator --config-file=etc/castellan/sample-config-generator.conf
|
oslo-config-generator --config-file=etc/castellan/sample-config-generator.conf
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
# [H106] Don't put vim configuration in source files.
|
||||||
|
# [H203] Use assertIs(Not)None to check for None.
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||||
|
enable-extensions = H106,H203
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = castellan.i18n
|
import_exceptions = castellan.i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user