add pep8 autoformat checks to travis
This commit is contained in:
parent
161bc2cfaa
commit
8037830696
|
@ -10,3 +10,4 @@ MANIFEST
|
|||
.idea/
|
||||
__pycache__
|
||||
netlib.egg-info/
|
||||
pathod/
|
||||
|
|
|
@ -9,6 +9,8 @@ install:
|
|||
# command to run tests, e.g. python setup.py test
|
||||
script:
|
||||
- "nosetests --with-cov --cov-report term-missing"
|
||||
- "autopep8 -i -r -a -a . && test -z \"$(git status -s)\""
|
||||
- "autoflake -r -i --remove-all-unused-imports --remove-unused-variables . && test -z \"$(git status -s)\""
|
||||
after_success:
|
||||
- coveralls
|
||||
notifications:
|
||||
|
|
Loading…
Reference in New Issue