From c18e510ff0d7c56c9ab4a172aad5bf059fadb220 Mon Sep 17 00:00:00 2001 From: "ting.wang" Date: Thu, 14 Jan 2016 17:00:30 +0800 Subject: [PATCH] Clean up removed hacking rule from [flake8] ignore lists We bump hacking>=0.10.0, and hacking removed some rules, for the full list of rules please see [1]. So don't need them any more. [1]https://github.com/openstack-dev/hacking/blob/master/setup.cfg#L30 Change-Id: I61b57fc7c958a869bc97d1cb73d447413f60cebd --- castellan/key_manager/__init__.py | 2 +- test-requirements.txt | 3 +-- tox.ini | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/castellan/key_manager/__init__.py b/castellan/key_manager/__init__.py index 474c7c3a..0a7435a2 100644 --- a/castellan/key_manager/__init__.py +++ b/castellan/key_manager/__init__.py @@ -28,4 +28,4 @@ def API(configuration=None): conf.register_opts(key_manager_opts, group='key_manager') cls = importutils.import_class(conf.key_manager.api_class) - return cls(configuration=conf) \ No newline at end of file + return cls(configuration=conf) diff --git a/test-requirements.txt b/test-requirements.txt index bc208b63..9943c05f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,8 +1,7 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. - -hacking<0.10,>=0.9.2 +hacking>=0.10.2,<0.11 # Apache-2.0 coverage>=3.6 # Apache-2.0 discover # BSD diff --git a/tox.ini b/tox.ini index 41c30488..a0e9764c 100644 --- a/tox.ini +++ b/tox.ini @@ -48,5 +48,5 @@ commands = # E123, E125 skipped as they are invalid PEP-8. show-source = True -ignore = E123,E125,H803 +ignore = E123,E125 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build