From 9b74b089a7f8275f58ff8e6e31d3fed81e045c8a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 1 Jun 2013 15:39:46 +0200 Subject: [PATCH] Fix Hacking H304 Warnings And also enable it permanently. Change-Id: Iae319ecaee86049bc25330e25c4f672e3b158851 --- heat/common/heat_keystoneclient.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/heat/common/heat_keystoneclient.py b/heat/common/heat_keystoneclient.py index 2e0228b3..e9e475b6 100644 --- a/heat/common/heat_keystoneclient.py +++ b/heat/common/heat_keystoneclient.py @@ -13,7 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. -import exception +from heat.openstack.common import exception import eventlet from keystoneclient.v2_0 import client as kc diff --git a/tox.ini b/tox.ini index b04c7a76..82c25e87 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,7 @@ commands = python setup.py testr --coverage [flake8] -ignore = H302,H303,H304,H403,H404,F403,F841,H306,H201,H702,H703 +ignore = F403,F841,H201,H302,H303,H306,H403,H404,H702,H703 show-source = true builtins = _ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,build -- 2.45.2