Travis: add pep8 checks

This commit is contained in:
Jakub Warmuz
2015-09-06 09:22:34 +00:00
parent 79a70cfd61
commit fe3e8d7302
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
[pep8]
# E265 block comment should start with '# '
# E501 line too long (X > 79 characters)
ignore = E265,E501
+2
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