Switch to newer flake8 / python 3.x version

the python 3.x version of flake8 finds more python 3.x
portability issues than the 2.x, as more checks are
enabled/active there.

Change-Id: Ie702ec7ce85e47b2ab6905f548be0b974077525e
This commit is contained in:
Dirk Mueller 2017-10-24 13:40:52 +02:00
parent 9eb8f76e64
commit 3b8274b8f3
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
flake8<2.6.0,>=2.5.4 # MIT
flake8>=3.5.0 # MIT
testrepository>=0.0.18 # Apache-2.0/BSD
testresources>=2.0.0 # Apache-2.0/BSD
testtools>=1.4.0 # MIT

View File

@ -18,6 +18,7 @@ deps = -r{toxinidir}/requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:venv]