From da0e39f175bb82a05883ef21cdb3ec729b1c06c2 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Tue, 22 Jul 2014 16:56:30 +0200 Subject: [PATCH] Enable check for H237 * H237: module is removed in Python 3 Change-Id: If23059e8c4af05aeede2b5fb239e37bc3f595524 --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index a751e46d8a..81b85f7c37 100644 --- a/tox.ini +++ b/tox.ini @@ -40,10 +40,9 @@ commands = bash tools/lintstack.sh [flake8] # TODO: These are not intentionally disabled, reenable when fixed: -# H237: module is removed in Python 3 # H405: multi line docstring summary not separated with an empty line # H501: Do not use locals() for string formatting # H904: Wrap long lines in parentheses instead of a backslash -ignore = E12,E711,E712,H237,H302,H303,H304,H402,H404,H405,H501,H904,F +ignore = E12,E711,E712,H302,H303,H304,H402,H404,H405,H501,H904,F builtins = _ exclude = .venv,.tox,dist,doc,openstack,*egg