[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Skipping E127 (continuation line over-indented for visual indent)
commit ff92770fba42f0daa40204795b9568fb6389d7cc
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Sun Jan 6 21:57:07 2013 -0800
Skipping E127 (continuation line over-indented for visual indent)
Bug with pep8 where detection only works for this if we have four space indents
(which we aren't swapping to at present).
---
test/check_whitespace.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/test/check_whitespace.py b/test/check_whitespace.py
index a91cf13..61ad69c 100644
--- a/test/check_whitespace.py
+++ b/test/check_whitespace.py
@@ -47,6 +47,13 @@ def pep8_issues(base_path = DEFAULT_TARGET):
# We're gonna trim these down by cateogry but include the pep8 checks to
# prevent regression.
+ # Ignoring the following compliance issues.
+ #
+ # * E127 continuation line over-indented for visual indent
+ #
+ # Pep8 only works with this one if we have four space indents (its
+ # detection is based on multiples of four).
+
ignored_issues = "E111,E121,W293,E501,E302,E701,E251,E261,W391,E127"
issues = {}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits