Travis: add pep8 checks

This commit is contained in:
Jakub Warmuz 2015-09-06 09:22:34 +00:00
parent 79a70cfd61
commit fe3e8d7302
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA
2 changed files with 6 additions and 0 deletions

4
.pep8 Normal file
View file

@ -0,0 +1,4 @@
[pep8]
# E265 block comment should start with '# '
# E501 line too long (X > 79 characters)
ignore = E265,E501

View file

@ -36,6 +36,8 @@ basepython = python2.7
# duplicate code checking; if one of the commands fails, others will
# continue, but tox return code will reflect previous error
commands =
pip install pep8
pep8 setup.py acme letsencrypt letsencrypt-apache letsencrypt-nginx letsencrypt-compatibility-test letshelp-letsencrypt
pip install -r requirements.txt -e acme -e .[dev] -e letsencrypt-apache -e letsencrypt-nginx -e letsencrypt-compatibility-test -e letshelp-letsencrypt
pylint --rcfile=.pylintrc letsencrypt
pylint --rcfile=.pylintrc acme/acme