mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-13 08:34:33 -05:00
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:
@@ -1,5 +1,5 @@
|
|||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
pep8==1.7.0
|
pycodestyle==2.3.1
|
||||||
pytest==3.0.2
|
pytest==3.0.2
|
||||||
pytest-mock==1.2
|
pytest-mock==1.2
|
||||||
pytest-cov==2.3.1
|
pytest-cov==2.3.1
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ function display_result {
|
|||||||
if [ -d venv ]; then
|
if [ -d venv ]; then
|
||||||
source ./venv/bin/activate
|
source ./venv/bin/activate
|
||||||
fi
|
fi
|
||||||
pep8 .
|
pycodestyle .
|
||||||
display_result $? 1 "Code style check"
|
display_result $? 1 "Code style check"
|
||||||
|
|
||||||
npm test
|
npm test
|
||||||
|
|||||||
Reference in New Issue
Block a user