Merge "Enable some off-by-default checks"

This commit is contained in:
Jenkins 2017-07-05 22:04:35 +00:00 committed by Gerrit Code Review
commit 68e4056ed4

View File

@ -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