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: Icd0162ac6bef12b2303c41bc11c917901c6dcade
This commit is contained in:
blue55 2017-06-23 10:43:45 +08:00
parent 5270b5f902
commit 6cc79c8c30
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ show-source = True
# E123, E125 skipped as they are invalid PEP-8.
# H405 multi line docstring summary not separated with an empty line
ignore = E123,E125,H405
enable-extensions = H203,H106
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject,tools