mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 00:22:28 +02:00
Travis: add pep8 checks
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
[pep8]
|
||||||
|
# E265 block comment should start with '# '
|
||||||
|
# E501 line too long (X > 79 characters)
|
||||||
|
ignore = E265,E501
|
||||||
@@ -36,6 +36,8 @@ basepython = python2.7
|
|||||||
# duplicate code checking; if one of the commands fails, others will
|
# duplicate code checking; if one of the commands fails, others will
|
||||||
# continue, but tox return code will reflect previous error
|
# continue, but tox return code will reflect previous error
|
||||||
commands =
|
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
|
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 letsencrypt
|
||||||
pylint --rcfile=.pylintrc acme/acme
|
pylint --rcfile=.pylintrc acme/acme
|
||||||
|
|||||||
Reference in New Issue
Block a user