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: Ia5b33c898e6293582ee6949a6503ff0c7fc32fdc
This commit is contained in:
lingyongxu 2017-06-22 17:04:08 +08:00
parent 431986c3c3
commit a8930b4965
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_i18n --t
show-source = True
ignore = E123,E125
# H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
enable-extensions=H106,H203
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
[hacking]