From 9867828c8e3507b997df08ba019f73e8e5dfb9d7 Mon Sep 17 00:00:00 2001 From: lingyongxu Date: Thu, 22 Jun 2017 16:31:09 +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: Ifed3a0b3514ac10a4c2b49b904f39a3faf2f15b5 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 5911b4f5..c9f4a276 100644 --- a/tox.ini +++ b/tox.ini @@ -73,6 +73,7 @@ commands = pylint --rcfile .pylintrc freezer [flake8] ignore = H405,H404,H403,H401 show-source = True +enable-extensions = H203,H106 exclude = .venv,.tox,dist,doc,test,*egg,releasenotes [testenv:install-guide]