From b4d62092f657224499734469ccde15ef3f28408f Mon Sep 17 00:00:00 2001 From: ZhijunWei Date: Fri, 28 Dec 2018 23:03:34 +0800 Subject: [PATCH] Update hacking version 1. update hacking version to latest 2. fix pep8 failed Change-Id: I9a7be34b2b2307676c8469ea65aa5c408845955c --- congressclient/__init__.py | 4 ++-- test-requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/congressclient/__init__.py b/congressclient/__init__.py index b4176ab..18efb16 100644 --- a/congressclient/__init__.py +++ b/congressclient/__init__.py @@ -10,10 +10,10 @@ # License for the specific language governing permissions and limitations # under the License. -__all__ = ['__version__'] - import pbr.version +__all__ = ['__version__'] + version_info = pbr.version.VersionInfo('python-congressclient') try: __version__ = version_info.version_string() diff --git a/test-requirements.txt b/test-requirements.txt index 40dc7d9..7ecd04a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,7 +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.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=1.1.0,<1.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD