Pin pep8 to 1.3.3
Apart of making pep8 version standard across all openstack projects. With this change we ignore E712 since it is normal to use "column == True" in sqlalchemy. Change-Id: I73a162847a79558cb158112878033edf18039805 Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
parent
98032e804a
commit
560e5cd84e
@ -128,7 +128,7 @@ function run_pep8 {
|
||||
srcfiles+=" setup.py"
|
||||
|
||||
# Until all these issues get fixed, ignore.
|
||||
ignore='--ignore=N4,E12,E711,E721'
|
||||
ignore='--ignore=N4,E12,E711,E721,E712'
|
||||
|
||||
${wrapper} python tools/hacking.py ${ignore} ${srcfiles}
|
||||
|
||||
|
@ -8,7 +8,7 @@ nose
|
||||
testtools
|
||||
openstack.nose_plugin>=0.7
|
||||
nosehtmloutput
|
||||
pep8==1.2
|
||||
pep8==1.3.3
|
||||
pylint==0.25.2
|
||||
sphinx>=1.1.2
|
||||
feedparser
|
||||
|
6
tox.ini
6
tox.ini
@ -22,11 +22,11 @@ sitepackages = True
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
[testenv:pep8]
|
||||
deps=pep8==1.2
|
||||
deps=pep8==1.3.3
|
||||
commands =
|
||||
python tools/hacking.py --ignore=N4,E12,E711,E721 --repeat --show-source \
|
||||
python tools/hacking.py --ignore=N4,E12,E711,E721,E712 --repeat --show-source \
|
||||
--exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg .
|
||||
python tools/hacking.py --ignore=N4,E12,E711,E721 --repeat --show-source \
|
||||
python tools/hacking.py --ignore=N4,E12,E711,E721,E712 --repeat --show-source \
|
||||
--filename=nova* bin
|
||||
|
||||
[testenv:pylint]
|
||||
|
Loading…
Reference in New Issue
Block a user