use pycodestyle instead of pep8 (deprecated)
This commit is contained in:
parent
9b2f742a24
commit
d0e9e82195
@ -76,9 +76,9 @@ install:
|
|||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# pep8 tests
|
# pycodestyle tests
|
||||||
- pep8 --ignore E501 update.py
|
- pycodestyle --ignore E501 update.py
|
||||||
- pep8 --ignore E501,E265 autocmake
|
- pycodestyle --ignore E501,E265 autocmake
|
||||||
# unit tests
|
# unit tests
|
||||||
- py.test -vv autocmake/*
|
- py.test -vv autocmake/*
|
||||||
- py.test -vv test/test.py
|
- py.test -vv test/test.py
|
||||||
|
@ -11,8 +11,8 @@ build and test recipe for other requirements.
|
|||||||
Your contributions and changes should preserve the test set and be PEP8 conform.
|
Your contributions and changes should preserve the test set and be PEP8 conform.
|
||||||
You can run locally all tests with::
|
You can run locally all tests with::
|
||||||
|
|
||||||
$ pep8 --ignore E501 update.py
|
$ pycodestyle --ignore E501 update.py
|
||||||
$ pep8 --ignore E501,E265 autocmake
|
$ pycodestyle --ignore E501,E265 autocmake
|
||||||
$ py.test -vv autocmake/*
|
$ py.test -vv autocmake/*
|
||||||
$ py.test -vv test/test.py
|
$ py.test -vv test/test.py
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
pep8
|
pycodestyle
|
||||||
pytest
|
pytest
|
||||||
pyyaml
|
pyyaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user