mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 18:58:25 -04:00
Merge pull request #1101 from alphagov/pycodestyle
Use pycodestyle instead of PEP8
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