Enable some off-by-default checks
Some of the available checks are diskabled by default, like: [H106] Don't put vim configuration in source files; [H203] Use assertIs(Not)None to check for None. Change-Id: Ie3d5ff0766515e68398b60519d00eeee2199be84
This commit is contained in:
parent
add74e4b01
commit
9e9fd41071
1
tox.ini
1
tox.ini
@ -27,6 +27,7 @@ commands = python setup.py build_sphinx --fresh-env
|
|||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
show-source = True
|
show-source = True
|
||||||
|
enable-extensions = H106,H203
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
exclude = .venv,.git,.tox,dist,doc,*egg,build
|
exclude = .venv,.git,.tox,dist,doc,*egg,build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user