Merge "Use pep8 replace py27"

This commit is contained in:
Zuul 2019-05-07 05:42:32 +00:00 committed by Gerrit Code Review
commit 6e3acf7722
2 changed files with 10 additions and 9 deletions

View File

@ -3,7 +3,7 @@
- openstack-specs-jobs - openstack-specs-jobs
check: check:
jobs: jobs:
- openstack-tox-py27 - openstack-tox-pep8
gate: gate:
jobs: jobs:
- openstack-tox-py27 - openstack-tox-pep8

15
tox.ini
View File

@ -1,8 +1,6 @@
[tox] [tox]
# Hold back to 1.4, since that's what's in Fedora 20 repos minversion = 2.0
# and we don't need anything newer for watcher-specs tests envlist = docs,pep8
minversion = 1.4
envlist = docs,py27,pep8
skipsdist = True skipsdist = True
[testenv] [testenv]
@ -29,10 +27,13 @@ commands =
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3
deps = -r{toxinidir}/test-requirements.txt deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = commands =
doc8 doc/source/ README.rst find . -type f -name "*.pyc" -delete
flake8 {posargs} stestr run --slowest {posargs}
flake8 {posargs}
[flake8] [flake8]
ignore = E128 ignore = E128