From ab9aa0da696118f40eef6bf13f2110ad9412aa36 Mon Sep 17 00:00:00 2001 From: jacky06 Date: Wed, 6 Mar 2019 22:28:18 +0800 Subject: [PATCH] Update hacking version Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I9596666d9bac8efae8ae22e027aca49a432069dc --- tackerclient/shell.py | 4 ++-- test-requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tackerclient/shell.py b/tackerclient/shell.py index d238de61..277c77ff 100644 --- a/tackerclient/shell.py +++ b/tackerclient/shell.py @@ -639,8 +639,8 @@ class TackerShell(app.App): self.options.os_project_domain_id)) or self.options.os_project_id) - if (not self.options.os_username - and not self.options.os_user_id): + if (not self.options.os_username and + not self.options.os_user_id): raise exc.CommandError( _("You must provide a username or user ID via" " --os-username, env[OS_USERNAME] or" diff --git a/test-requirements.txt b/test-requirements.txt index bf783f16..f71d60b6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,7 +1,8 @@ # 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 python-subunit>=1.0.0 # Apache-2.0/BSD