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: I646c4d1e36d30eec921fe0e4bb8d288ee134fd4f
This commit is contained in:
parent
edf75cf9f2
commit
d59e40f460
3
tox.ini
3
tox.ini
|
@ -93,7 +93,10 @@ commands =
|
|||
|
||||
[flake8]
|
||||
# Temporarily disable complaints about docstring for public module/class/method
|
||||
# H106 Don’t put vim configuration in source files
|
||||
# H203 Use assertIs(Not)None to check for None
|
||||
ignore = D100,D101,D102,D103,D104,D105,D200,D201,D202,D204,D205,D300,D301,D400,D401
|
||||
enable-extensions=H106,H203
|
||||
show-source = true
|
||||
exclude=.venv,.git,.tox,cover,dist,*lib/python*,*egg,tools,build,releasenotes
|
||||
max-complexity=20
|
||||
|
|
Loading…
Reference in New Issue