Updated from global requirements

Change-Id: Id7f6b00b6bc26e0c5f9ecd76ece5ff670675b8aa
This commit is contained in:
OpenStack Proposal Bot 2014-06-11 01:37:23 +00:00 committed by ZhiQiang Fan
parent 339b55c319
commit a69e5866f8
4 changed files with 18 additions and 4 deletions

View File

@ -2,5 +2,5 @@ pbr>=0.6,!=0.7,<1.0
argparse
iso8601>=0.1.9
PrettyTable>=0.7,<0.8
python-keystoneclient>=0.7.0
python-keystoneclient>=0.9.0
six>=1.6.0

View File

@ -17,6 +17,14 @@
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr'],
pbr=True)

View File

@ -1,10 +1,10 @@
# Hacking already pins down pep8, pyflakes and flake8
hacking>=0.8.0,<0.9
hacking>=0.9.1,<0.10
coverage>=3.6
discover
fixtures>=0.3.14
mock>=1.0
python-subunit>=0.0.18
sphinx>=1.1.2,<1.2
sphinx>=1.2.1,<1.3
testrepository>=0.0.18
testtools>=0.9.34

View File

@ -25,6 +25,12 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
commands = {posargs}
[flake8]
ignore = None
# H302 import only modules
# H305 imports not grouped correctly
# H307 like imports should be grouped together
# H402 one line docstring needs punctuation
# H405 multi line docstring summary not separated with an empty line
# H904 Wrap long lines in parentheses instead of a backslash
ignore = H302,H305,H307,H402,H405,H904
show-source = True
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools