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: Ie447f14aed895d58eb27701e55febf548292f63d
This commit is contained in:
parent
42dff83ce4
commit
e0e789f636
1
tox.ini
1
tox.ini
|
@ -44,6 +44,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
|||
[flake8]
|
||||
ignore = D100,D101,D102,D103,D104,D105,D200,D201,D202,D204,D205,D300,D301,D400,D401
|
||||
show-source = True
|
||||
enable-extensions = H203,H106
|
||||
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
||||
max-complexity=20
|
||||
|
||||
|
|
Loading…
Reference in New Issue