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: I1e2612a92014b17d9f3158ec868f07e734263f13
This commit is contained in:
parent
e93f2f5397
commit
8c96cfd08c
3
tox.ini
3
tox.ini
@ -27,11 +27,14 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
# [H106] Don’t put vim configuration in source files
|
||||
# [H203] Use assertIs(Not)None to check for None
|
||||
|
||||
show-source = True
|
||||
ignore = E123,E125
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
enable-extensions = H106,H203
|
||||
|
||||
[hacking]
|
||||
import_exceptions =
|
||||
|
Loading…
x
Reference in New Issue
Block a user