Skip to content

Commit e2436b3

Browse files
jacky06eharney
authored andcommitted
Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: I1ae708f0753249226ceb47610a1a4d0b558c1d0e
1 parent d83998f commit e2436b3

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

cinderclient/tests/unit/v3/test_shell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,8 +1068,8 @@ def test_group_disable_replication(self):
10681068
def test_group_failover_replication(self, attach_vol, backend):
10691069
attach = '--allow-attached-volume ' if attach_vol else ''
10701070
backend_id = ('--secondary-backend-id ' + backend) if backend else ''
1071-
cmd = ('--os-volume-api-version 3.38 group-failover-replication 1234 '
1072-
+ attach + backend_id)
1071+
cmd = ('--os-volume-api-version 3.38 '
1072+
'group-failover-replication 1234 ' + attach + backend_id)
10731073
self.run_command(cmd)
10741074
expected = {'failover_replication':
10751075
{'allow_attached_volume': attach_vol,

cinderclient/v3/shell.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from cinderclient import utils
3232

3333
from cinderclient.v2.shell import * # noqa
34+
from cinderclient.v2.shell import CheckSizeArgForCreate
3435

3536
FILTER_DEPRECATED = ("This option is deprecated and will be removed in "
3637
"newer release. Please use '--filters' option which "

doc/source/user/shell.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The :program:`cinder` shell utility
2-
=========================================
2+
===================================
33

44
.. program:: cinder
55
.. highlight:: bash

test-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# of appearance. Changing the order has an impact on the overall integration
33
# process, which may cause wedges in the gate later.
44
# Hacking already pins down pep8, pyflakes and flake8
5-
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
5+
6+
hacking>=1.1.0,<1.2.0 # Apache-2.0
67
coverage!=4.4,>=4.0 # Apache-2.0
78
ddt>=1.0.1 # MIT
89
fixtures>=3.0.0 # Apache-2.0/BSD

0 commit comments

Comments
 (0)