Merge "Bump hacking version"
This commit is contained in:
commit
fd63a909a8
@ -22,14 +22,14 @@ extras==1.0.0
|
|||||||
fasteners==0.7.0
|
fasteners==0.7.0
|
||||||
fixtures==3.0.0
|
fixtures==3.0.0
|
||||||
flake8-import-order==0.13
|
flake8-import-order==0.13
|
||||||
flake8==2.5.5
|
flake8==2.6.2
|
||||||
future==0.16.0
|
future==0.16.0
|
||||||
futurist==1.2.0
|
futurist==1.2.0
|
||||||
gitdb==0.6.4
|
gitdb==0.6.4
|
||||||
GitPython==1.0.1
|
GitPython==1.0.1
|
||||||
gnocchiclient==3.3.1
|
gnocchiclient==3.3.1
|
||||||
greenlet==0.4.10
|
greenlet==0.4.10
|
||||||
hacking==0.12.0
|
hacking==1.1.0
|
||||||
httplib2==0.9.1
|
httplib2==0.9.1
|
||||||
idna==2.6
|
idna==2.6
|
||||||
iso8601==0.1.11
|
iso8601==0.1.11
|
||||||
@ -71,14 +71,13 @@ paramiko==2.0.0
|
|||||||
Paste==2.0.2
|
Paste==2.0.2
|
||||||
PasteDeploy==1.5.0
|
PasteDeploy==1.5.0
|
||||||
pbr==2.0.0
|
pbr==2.0.0
|
||||||
pep8==1.5.7
|
|
||||||
pika-pool==0.1.3
|
pika-pool==0.1.3
|
||||||
pika==0.10.0
|
pika==0.10.0
|
||||||
ply==3.10
|
ply==3.10
|
||||||
positional==1.2.1
|
positional==1.2.1
|
||||||
prettytable==0.7.2
|
prettytable==0.7.2
|
||||||
pyasn1==0.1.8
|
pyasn1==0.1.8
|
||||||
pycodestyle==2.3.1
|
pycodestyle==2.0.0
|
||||||
pycparser==2.18
|
pycparser==2.18
|
||||||
pyflakes==0.8.1
|
pyflakes==0.8.1
|
||||||
pyinotify==0.9.6
|
pyinotify==0.9.6
|
||||||
|
@ -112,7 +112,7 @@ class ShowHypervisor(command.ShowOne):
|
|||||||
# example: 17:37:14 up 2:33, 3 users,
|
# example: 17:37:14 up 2:33, 3 users,
|
||||||
# load average: 0.33, 0.36, 0.34
|
# load average: 0.33, 0.36, 0.34
|
||||||
m = re.match(
|
m = re.match(
|
||||||
"\s*(.+)\sup\s+(.+),\s+(.+)\susers?,\s+load average:\s(.+)",
|
r"\s*(.+)\sup\s+(.+),\s+(.+)\susers?,\s+load average:\s(.+)",
|
||||||
uptime['uptime'])
|
uptime['uptime'])
|
||||||
if m:
|
if m:
|
||||||
hypervisor["host_time"] = m.group(1)
|
hypervisor["host_time"] = m.group(1)
|
||||||
|
@ -209,5 +209,6 @@ def main(argv=None):
|
|||||||
|
|
||||||
return OpenStackShell().run(argv)
|
return OpenStackShell().run(argv)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
|
@ -505,7 +505,7 @@ class FakeSecurityGroup(object):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_security_groups(security_groups=None, count=2):
|
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
|
If security groups list is provided, then initialize the Mock object
|
||||||
with the list. Otherwise create one.
|
with the list. Otherwise create one.
|
||||||
|
@ -1344,7 +1344,7 @@ class FakeSecurityGroupRule(object):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_security_group_rules(security_group_rules=None, count=2):
|
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
|
If security group rules list is provided, then initialize the Mock
|
||||||
object with the list. Otherwise create one.
|
object with the list. Otherwise create one.
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# The order of packages is significant, because pip processes them in the order
|
# 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
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# 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
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||||
flake8-import-order==0.13 # LGPLv3
|
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
|
# H203: Use assertIs(Not)None to check for None
|
||||||
enable-extensions = H203
|
enable-extensions = H203
|
||||||
exclude = .git,.tox,dist,doc,*lib/python*,*egg,build,tools
|
exclude = .git,.tox,dist,doc,*lib/python*,*egg,build,tools
|
||||||
# If 'ignore' is not set there are default errors and warnings that are set
|
# W504 is disabled since you must choose between this or W503
|
||||||
# Doc: http://flake8.readthedocs.org/en/latest/config.html#default
|
ignore = W504
|
||||||
ignore = __
|
|
||||||
import-order-style = pep8
|
import-order-style = pep8
|
||||||
application_import_names = openstackclient
|
application_import_names = openstackclient
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user