From 0aa6ab0c9bf2d8f67b75e8503158e65b0306e692 Mon Sep 17 00:00:00 2001 From: "ting.wang" Date: Thu, 14 Jan 2016 16:44:26 +0800 Subject: [PATCH] Clean flake8 ignore There is no bad code violating PEP-8 and no need to ignore rules H404. So clean the ignore list to do a more strict check. Change-Id: I9acea84f0d789985aa9d6fd94120f8c9dd207e8e --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 044a113a..e1eaaf78 100644 --- a/tox.ini +++ b/tox.ini @@ -39,8 +39,6 @@ commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoa commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8] -# H301 one import per line -# H302 import only modules -ignore = H404,F401 +ignore = F401 show-source = true exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools