From 3ea7c472cf88115ab5b70cd9a83f3d22190c725c Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Fri, 28 Dec 2018 22:52:08 +0800 Subject: [PATCH] Update hacking version Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: Iec0c74ab679d6046b12f1d16ecd5cb6dfa74b3ed --- README.rst | 4 ++-- oslo_concurrency/opts.py | 8 +++----- test-requirements.txt | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 2136b88..fbc6e59 100644 --- a/README.rst +++ b/README.rst @@ -7,9 +7,9 @@ Team and repository tags .. Change things from this point on -================== +================= oslo.concurrency -================== +================= .. image:: https://img.shields.io/pypi/v/oslo.concurrency.svg :target: https://pypi.org/project/oslo.concurrency/ diff --git a/oslo_concurrency/opts.py b/oslo_concurrency/opts.py index 8189ab4..d8632b2 100644 --- a/oslo_concurrency/opts.py +++ b/oslo_concurrency/opts.py @@ -12,17 +12,15 @@ # License for the specific language governing permissions and limitations # under the License. +import copy + +from oslo_concurrency import lockutils __all__ = [ 'list_opts', ] -import copy - -from oslo_concurrency import lockutils - - def list_opts(): """Return a list of oslo.config options available in the library. diff --git a/test-requirements.txt b/test-requirements.txt index fb68ff2..0582fe5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD