Use pycodestyle instead of PEP8

PEP8 was renamed to pycodestyle; this issue explains why:
PyCQA/pycodestyle#466

This commit changes our tests to use pycodestyle instead of pep8.

No changes to our code were required as a result.
This commit is contained in:
Chris Hill-Scott
2017-02-02 10:50:26 +00:00
parent ddf657fa2b
commit f048b918a0
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
-r requirements.txt
pep8==1.7.0
pycodestyle==2.3.1
pytest==3.0.2
pytest-mock==1.2
pytest-cov==2.3.1

View File

@@ -27,7 +27,7 @@ function display_result {
if [ -d venv ]; then
source ./venv/bin/activate
fi
pep8 .
pycodestyle .
display_result $? 1 "Code style check"
npm test

View File

@@ -1,4 +1,4 @@
[pep8]
[pycodestyle]
max-line-length = 120
exclude = ./migrations,./venv,./venv3,./node_modules,./bower_components,./cache