From 9fb42e21db1e6b53842366e613c23ff0e0e6fda9 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Sun, 10 Jan 2016 18:05:30 +0000 Subject: [PATCH 1/2] Enfore PEP8 checking in ACME --- pep8.travis.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pep8.travis.sh b/pep8.travis.sh index ccac0a435..13a727596 100755 --- a/pep8.travis.sh +++ b/pep8.travis.sh @@ -1,7 +1,12 @@ #!/bin/sh + +set -e # Fail fast + +# PEP8 is not ignored in ACME +pep8 acme + pep8 \ setup.py \ - acme \ letsencrypt \ letsencrypt-apache \ letsencrypt-nginx \ From 29d16b027eea4c831e5cc1f593da3432eec1c465 Mon Sep 17 00:00:00 2001 From: Jakub Warmuz Date: Sat, 20 Feb 2016 11:01:10 +0000 Subject: [PATCH 2/2] Separate pep8 config for acme. --- acme/.pep8 | 4 ++++ pep8.travis.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 acme/.pep8 diff --git a/acme/.pep8 b/acme/.pep8 new file mode 100644 index 000000000..22045d3d3 --- /dev/null +++ b/acme/.pep8 @@ -0,0 +1,4 @@ +[pep8] +# E265 block comment should start with '# ' +# E501 line too long (X > 79 characters) +ignore = E265,E501 diff --git a/pep8.travis.sh b/pep8.travis.sh index 13a727596..91124bdbd 100755 --- a/pep8.travis.sh +++ b/pep8.travis.sh @@ -3,7 +3,7 @@ set -e # Fail fast # PEP8 is not ignored in ACME -pep8 acme +pep8 --config=acme/.pep8 acme pep8 \ setup.py \