mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Travis: add pep8 checks
This commit is contained in:
parent
79a70cfd61
commit
fe3e8d7302
2 changed files with 6 additions and 0 deletions
4
.pep8
Normal file
4
.pep8
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[pep8]
|
||||
# E265 block comment should start with '# '
|
||||
# E501 line too long (X > 79 characters)
|
||||
ignore = E265,E501
|
||||
2
tox.ini
2
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue