summaryrefslogtreecommitdiff
path: root/testsuite/E12.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2014-03-25 02:45:40 +0100
committerFlorent Xicluna <florent.xicluna@gmail.com>2014-03-25 02:45:40 +0100
commit2a1117c9988532942b81bb60639038e9c9e6bdaa (patch)
tree4bd1939b720bb7ff3a467ea3936d0b2872a1c05c /testsuite/E12.py
parent2336afaf09875f1501f0fb05dc11c477c5c77bc1 (diff)
downloadpep8-2a1117c9988532942b81bb60639038e9c9e6bdaa.tar.gz
Clarify E121 and E126 for hanging indents, and reports all over-indented continuation lines under E126.
Diffstat (limited to 'testsuite/E12.py')
-rw-r--r--testsuite/E12.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/E12.py b/testsuite/E12.py
index 1328091..ed12232 100644
--- a/testsuite/E12.py
+++ b/testsuite/E12.py
@@ -42,7 +42,7 @@ print "E128", ("under-",
#:
-#: E121
+#: E126
my_list = [
1, 2, 3,
4, 5, 6,
@@ -52,23 +52,23 @@ result = {
'key1': 'value',
'key2': 'value',
}
-#: E121 E121
+#: E126 E126
rv.update(dict.fromkeys((
'qualif_nr', 'reasonComment_en', 'reasonComment_fr',
'reasonComment_de', 'reasonComment_it'),
'?'),
"foo")
-#: E121 E121
+#: E126 E126
abricot = 3 + \
4 + \
5 + 6
-#: E121
+#: E126
print "hello", (
"there",
# "john",
"dude")
-#: E121
+#: E126
part = set_mimetype((
a.get('mime_type', 'text')),
'default')