Bump hacking version
Pick up newer versions of this library. Thankfully no serious changes are needed. Change-Id: I69e523844529fc1c8aa0c1ce764182dbe29cfeb6 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
b9d6310556
commit
6419533f43
@ -22,14 +22,14 @@ extras==1.0.0
|
||||
fasteners==0.7.0
|
||||
fixtures==3.0.0
|
||||
flake8-import-order==0.13
|
||||
flake8==2.5.5
|
||||
flake8==2.6.2
|
||||
future==0.16.0
|
||||
futurist==1.2.0
|
||||
gitdb==0.6.4
|
||||
GitPython==1.0.1
|
||||
gnocchiclient==3.3.1
|
||||
greenlet==0.4.10
|
||||
hacking==0.12.0
|
||||
hacking==1.1.0
|
||||
httplib2==0.9.1
|
||||
idna==2.6
|
||||
iso8601==0.1.11
|
||||
@ -71,14 +71,13 @@ paramiko==2.0.0
|
||||
Paste==2.0.2
|
||||
PasteDeploy==1.5.0
|
||||
pbr==2.0.0
|
||||
pep8==1.5.7
|
||||
pika-pool==0.1.3
|
||||
pika==0.10.0
|
||||
ply==3.10
|
||||
positional==1.2.1
|
||||
prettytable==0.7.2
|
||||
pyasn1==0.1.8
|
||||
pycodestyle==2.3.1
|
||||
pycodestyle==2.0.0
|
||||
pycparser==2.18
|
||||
pyflakes==0.8.1
|
||||
pyinotify==0.9.6
|
||||
|
@ -112,7 +112,7 @@ class ShowHypervisor(command.ShowOne):
|
||||
# example: 17:37:14 up 2:33, 3 users,
|
||||
# load average: 0.33, 0.36, 0.34
|
||||
m = re.match(
|
||||
"\s*(.+)\sup\s+(.+),\s+(.+)\susers?,\s+load average:\s(.+)",
|
||||
r"\s*(.+)\sup\s+(.+),\s+(.+)\susers?,\s+load average:\s(.+)",
|
||||
uptime['uptime'])
|
||||
if m:
|
||||
hypervisor["host_time"] = m.group(1)
|
||||
|
@ -209,5 +209,6 @@ def main(argv=None):
|
||||
|
||||
return OpenStackShell().run(argv)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -505,7 +505,7 @@ class FakeSecurityGroup(object):
|
||||
|
||||
@staticmethod
|
||||
def get_security_groups(security_groups=None, count=2):
|
||||
"""Get an iterable MagicMock object with a list of faked security groups.
|
||||
"""Get an iterable MagicMock with a list of faked security groups.
|
||||
|
||||
If security groups list is provided, then initialize the Mock object
|
||||
with the list. Otherwise create one.
|
||||
|
@ -1344,7 +1344,7 @@ class FakeSecurityGroupRule(object):
|
||||
|
||||
@staticmethod
|
||||
def get_security_group_rules(security_group_rules=None, count=2):
|
||||
"""Get an iterable Mock object with a list of faked security group rules.
|
||||
"""Get an iterable Mock with a list of faked security group rules.
|
||||
|
||||
If security group rules list is provided, then initialize the Mock
|
||||
object with the list. Otherwise create one.
|
||||
|
@ -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.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
|
||||
flake8-import-order==0.13 # LGPLv3
|
||||
|
5
tox.ini
5
tox.ini
@ -132,9 +132,8 @@ show-source = True
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
enable-extensions = H203
|
||||
exclude = .git,.tox,dist,doc,*lib/python*,*egg,build,tools
|
||||
# If 'ignore' is not set there are default errors and warnings that are set
|
||||
# Doc: http://flake8.readthedocs.org/en/latest/config.html#default
|
||||
ignore = __
|
||||
# W504 is disabled since you must choose between this or W503
|
||||
ignore = W504
|
||||
import-order-style = pep8
|
||||
application_import_names = openstackclient
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user