From da983564ea2b5522bc975807276a36c091226fd5 Mon Sep 17 00:00:00 2001 From: blue55 Date: Wed, 21 Jun 2017 15:56:20 +0800 Subject: [PATCH] Enable some off-by-default checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: I884837a9fee9572dda2240efdf27d6f4c607f139 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 49e11216..5ef8cc38 100644 --- a/tox.ini +++ b/tox.ini @@ -58,4 +58,5 @@ 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 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject,tools