From f517a42752eb357a3aa404e4ea9c4bc63c4e4919 Mon Sep 17 00:00:00 2001 From: blue55 Date: Wed, 21 Jun 2017 15:32:29 +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: I61ce619eeb37dc05f81015d37afc78a32838448a --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index ee6eda7a29..8ec8962d80 100644 --- a/tox.ini +++ b/tox.ini @@ -245,6 +245,7 @@ commands = bindep test [flake8] show-source = True +enable-extensions = H203,H106 exclude=.eggs,.git,.tox,doc [hacking]