From: Dirk Mueller Date: Sat, 1 Jun 2013 13:39:46 +0000 (+0200) Subject: Fix Hacking H304 Warnings X-Git-Tag: 2014.1~525^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9b74b089a7f8275f58ff8e6e31d3fed81e045c8a;p=openstack-build%2Fheat-build.git Fix Hacking H304 Warnings And also enable it permanently. Change-Id: Iae319ecaee86049bc25330e25c4f672e3b158851 --- 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