Merge "Enable some off-by-default checks"
This commit is contained in:
commit
b783b44eba
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
|
show-source = True
|
||||||
ignore = E123,E125
|
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
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user