From fe3e8d7302c71db4b7eb092a57be8b95bf9187c7 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Sun, 6 Sep 2015 09:22:34 +0000 Subject: [PATCH] Travis: add pep8 checks --- .pep8 | 4 ++++ tox.ini | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 .pep8 diff --git a/.pep8 b/.pep8 new file mode 100644 index 000000000..79a82a252 --- /dev/null +++ b/.pep8 @@ -0,0 +1,4 @@ +[pep8] +# E265 block comment should start with '# ' +# E501 line too long (X > 79 characters) +ignore = E265,E501 \ No newline at end of file diff --git a/tox.ini b/tox.ini index ebe9746c9..4caecf681 100644 --- a/tox.ini +++ b/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