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: I41e5b6dd451354df06450dd038bdb852c55aa512changes/31/477831/1
parent
0ccf8575d4
commit
8fcb380aa1
3
tox.ini
3
tox.ini
|
@ -62,6 +62,9 @@ commands = pylint --rcfile .pylintrc freezerclient
|
|||
# H404 -> Multi line docstrings should start without a leading new line.
|
||||
# H405 -> Multi line docstrings should start with a one line summary followed by an empty line.
|
||||
ignore = H104,H202,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
|
||||
exclude = .venv,.tox,dist,doc,*egg,releasenotes
|
||||
|
||||
|
|
Loading…
Reference in New Issue