add pep8 autoformat checks to travis

This commit is contained in:
Thomas Kriechbaumer 2015-05-27 11:34:14 +02:00
parent 161bc2cfaa
commit 8037830696
3 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ MANIFEST
.idea/
__pycache__
netlib.egg-info/
pathod/

View File

@ -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:

View File

@ -50,6 +50,8 @@ setup(
"nose>=1.3.0",
"nose-cov>=1.6",
"coveralls>=0.4.1",
"autopep8>=1.0.3",
"autoflake>=0.6.6",
"pathod>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION)
]
}