diff options
author | Christian Berendt <berendt@b1-systems.de> | 2014-07-17 10:23:52 +0200 |
---|---|---|
committer | Christian Berendt <berendt@b1-systems.de> | 2014-07-17 10:24:10 +0200 |
commit | fbdeb41af0c9df0e8d4ad8d5cff0ce13fb65b8c4 (patch) | |
tree | b95a5813e4457b21557d03754d7ef44d2c203688 | |
parent | 0fb150cab3979be46c798daf2b2439631aaaeada (diff) | |
download | pycadf-fbdeb41af0c9df0e8d4ad8d5cff0ce13fb65b8c4.tar.gz |
Enabled hacking checks H305 and H307
* H305 imports not grouped correctly
* H307 like imports should be grouped together
Change-Id: Ied0e83b9b37dcb7a7a60a653093c3fa0d8e56226
-rw-r--r-- | pycadf/cadftype.py | 1 | ||||
-rw-r--r-- | pycadf/identifier.py | 2 | ||||
-rw-r--r-- | pycadf/middleware/audit.py | 1 | ||||
-rw-r--r-- | pycadf/tests/base.py | 4 | ||||
-rw-r--r-- | pycadf/timestamp.py | 1 | ||||
-rw-r--r-- | tox.ini | 2 |
6 files changed, 6 insertions, 5 deletions
diff --git a/pycadf/cadftype.py b/pycadf/cadftype.py index f9f3096..4c04333 100644 --- a/pycadf/cadftype.py +++ b/pycadf/cadftype.py @@ -16,6 +16,7 @@ # under the License. import abc + import six from pycadf.openstack.common import jsonutils diff --git a/pycadf/identifier.py b/pycadf/identifier.py index 2035b97..f25d88c 100644 --- a/pycadf/identifier.py +++ b/pycadf/identifier.py @@ -15,10 +15,10 @@ # License for the specific language governing permissions and limitations # under the License. -import six import uuid from oslo.config import cfg +import six CONF = cfg.CONF opts = [ diff --git a/pycadf/middleware/audit.py b/pycadf/middleware/audit.py index 1293cb6..6234b0a 100644 --- a/pycadf/middleware/audit.py +++ b/pycadf/middleware/audit.py @@ -21,7 +21,6 @@ in the pipeline so that it can utilise the information Keystone provides. """ from pycadf.audit import api as cadf_api - from pycadf.middleware import notifier diff --git a/pycadf/tests/base.py b/pycadf/tests/base.py index fedb245..2f4f68b 100644 --- a/pycadf/tests/base.py +++ b/pycadf/tests/base.py @@ -15,11 +15,11 @@ """Test base classes. """ -import fixtures import os.path -import testtools +import fixtures from oslo.config import cfg +import testtools from pycadf.openstack.common.fixture import moxstubout diff --git a/pycadf/timestamp.py b/pycadf/timestamp.py index 5e3d4c7..60c492b 100644 --- a/pycadf/timestamp.py +++ b/pycadf/timestamp.py @@ -16,6 +16,7 @@ # under the License. import datetime + import pytz import six @@ -28,6 +28,6 @@ commands = {posargs} [flake8] show-source = True -ignore = E128,E251,E265,H305,H307,H405,H904 +ignore = E128,E251,E265,H405,H904 exclude = .tox,dist,doc,*.egg,build,./pycadf/openstack/common builtins = _ |