Switch from pytest-pep8 to pycodestyle.

Pytest-pep8 received the last update in 2014, and it is now not working with pytest >= 4.5
This commit is contained in:
Alessio Bogon 2019-07-04 16:38:38 +02:00 committed by Alessio Bogon
parent d299bd75ad
commit 76a75ea3e6
4 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
mock
pytest-pep8
coverage<4.0a1
pytest-cache
pycodestyle

View File

@ -1,3 +1,5 @@
[wheel]
universal = 1
[pycodestyle]
max-line-length = 120

View File

@ -21,6 +21,7 @@ def appends_1(empty_list):
empty_list.append(1)
return empty_list
given('I have a fixture (appends 1 to a list) in reuse syntax', fixture='appends_1')

View File

@ -27,7 +27,7 @@ deps =
commands = py.test tests --junitxml={envlogdir}/junit-{envname}.xml
[testenv:py27-pytestlatest-linters]
commands = {[testenv]commands} pytest_bdd --pep8 -m pep8
commands = pycodestyle pytest_bdd tests
[testenv:py27-pytestlatest-xdist]
deps =