Move to flake8/hacking.
Change-Id: I57d6ddf55b032542233d30ee4c876d244802a4bf
This commit is contained in:
parent
257d4a8601
commit
741d82c0e8
@ -1,8 +1,16 @@
|
|||||||
|
# Install bounded pep8/pyflakes first, then let flake8 install
|
||||||
|
pep8==1.4.5
|
||||||
|
pyflakes==0.7.2
|
||||||
|
flake8==2.0
|
||||||
|
hacking>=0.5.3,<0.6
|
||||||
|
|
||||||
nose>=1.2.1
|
nose>=1.2.1
|
||||||
nosexcover>=1.0.7
|
nosexcover>=1.0.7
|
||||||
openstack.nose_plugin>=0.11
|
openstack.nose_plugin>=0.11
|
||||||
pep8==1.1
|
|
||||||
sphinx>=1.1.2
|
sphinx>=1.1.2
|
||||||
unittest2>=0.5.1
|
unittest2>=0.5.1
|
||||||
testtools
|
testtools
|
||||||
mock>=1.0.1
|
# This used to be but openstack/requirements is set to [below].
|
||||||
|
# If this breaks we 1) fix tests to use [below] or
|
||||||
|
# 2) petition to use mock>=1.0.1
|
||||||
|
mock>=0.8.0
|
||||||
|
7
tox.ini
7
tox.ini
@ -15,7 +15,7 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
commands = nosetests
|
commands = nosetests
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc reddwarfclient tests setup.py
|
commands = flake8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
@ -30,3 +30,8 @@ commands = nosetests --cover-erase --cover-package=reddwarfclient --with-xcovera
|
|||||||
sphinx
|
sphinx
|
||||||
-commands =
|
-commands =
|
||||||
sphinx-build -b html {toxinidir}/docs/source {envtmpdir}/html
|
sphinx-build -b html {toxinidir}/docs/source {envtmpdir}/html
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
ignore = E12,F,H
|
||||||
|
show-source = True
|
||||||
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user