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: I36a6997fdb806b4d0a9d064107cc1451c766c987
This commit is contained in:
parent
0ee7c8272e
commit
fd6e76029d
3
tox.ini
3
tox.ini
@ -78,6 +78,9 @@ commands=
|
|||||||
# H404: multi line docstring should start without a leading new line
|
# H404: multi line docstring should start without a leading new line
|
||||||
# H405: multi line docstring summary not separated with an empty line
|
# H405: multi line docstring summary not separated with an empty line
|
||||||
ignore = H101,H301,H306,H401,H403,H404,H405
|
ignore = H101,H301,H306,H401,H403,H404,H405
|
||||||
|
# H106: Don’t put vim configuration in source files
|
||||||
|
# H203: Use assertIs(Not)None to check for None
|
||||||
|
enable-extensions=H106,H203
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.tox,dist,doc,*egg
|
exclude = .venv,.tox,dist,doc,*egg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user