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:
parent
431986c3c3
commit
a8930b4965
4
tox.ini
4
tox.ini
|
@ -28,6 +28,10 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_i18n --t
|
|||
|
||||
show-source = True
|
||||
ignore = E123,E125
|
||||
|
||||
# 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,doc,*lib/python*,*egg,build,__init__.py
|
||||
|
||||
[hacking]
|
||||
|
|
Loading…
Reference in New Issue