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: Iac4e864493d29e896d2a7657eb30fb6c10c9d451
This commit is contained in:
liangcui 2017-06-22 17:03:40 +08:00
parent c52c1ce7c7
commit 9046fc8b8b
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ commands = python setup.py build_sphinx
[flake8]
show-source = true
enable-extensions = H106,H203
# TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware*