Pin pep8 to 1.3.3
Part of making pep8 version standard across all openstack projects. Fixes LP: #1143569 Change-Id: Iefc923123243df161ed72888c1651a622afbda04 Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
parent
193dbf6d1c
commit
29844348b4
@ -10,7 +10,7 @@ nose
|
|||||||
nosehtmloutput
|
nosehtmloutput
|
||||||
nosexcover
|
nosexcover
|
||||||
openstack.nose_plugin
|
openstack.nose_plugin
|
||||||
pep8
|
pep8==1.3.3
|
||||||
python-subunit
|
python-subunit
|
||||||
sphinx>=1.1.2
|
sphinx>=1.1.2
|
||||||
testrepository>=0.0.13
|
testrepository>=0.0.13
|
||||||
|
4
tox.ini
4
tox.ini
@ -19,12 +19,12 @@ sitepackages = True
|
|||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
# E712 comparison to False should be 'if cond is False:' or 'if not cond:'
|
# E711/E712 comparison to False should be 'if cond is False:' or 'if not cond:'
|
||||||
# query = query.filter(Component.disabled == False)
|
# query = query.filter(Component.disabled == False)
|
||||||
# E125 continuation line does not distinguish itself from next logical line
|
# E125 continuation line does not distinguish itself from next logical line
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
pep8 --repeat --show-source --ignore=E125,E712 --exclude=.venv,.tox,dist,doc,openstack,*egg .
|
pep8 --repeat --show-source --ignore=E125,E711,E712 --exclude=.venv,.tox,dist,doc,openstack,*egg .
|
||||||
pep8 --repeat --show-source --ignore=E125 --filename=quantum* bin
|
pep8 --repeat --show-source --ignore=E125 --filename=quantum* bin
|
||||||
|
|
||||||
[testenv:i18n]
|
[testenv:i18n]
|
||||||
|
Loading…
Reference in New Issue
Block a user