summaryrefslogtreecommitdiff
path: root/testsuite/E26.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/E26.py')
-rw-r--r--testsuite/E26.py35
1 files changed, 29 insertions, 6 deletions
diff --git a/testsuite/E26.py b/testsuite/E26.py
index d838e70..509babf 100644
--- a/testsuite/E26.py
+++ b/testsuite/E26.py
@@ -1,18 +1,33 @@
-#: E261
+#: E261:1:5
pass # an inline comment
-#: E262
+#: E262:1:12
x = x + 1 #Increment x
-#: E262
+#: E262:1:12
x = x + 1 # Increment x
-#: E262
+#: E262:1:12
x = y + 1 #: Increment x
-#: E265
+#: E265:1:1
#Block comment
a = 1
-#: E265
+#: E265:2:1
m = 42
#! This is important
mx = 42 - 42
+#: E266:3:5 E266:6:5
+def how_it_feel(r):
+
+ ### This is a variable ###
+ a = 42
+
+ ### Of course it is unused
+ return
+#: E265:1:1 E266:2:1
+##if DEBUG:
+## logging.error()
+#: W291:1:42
+#########################################
+#:
+
#: Okay
#!/usr/bin/env python
@@ -34,3 +49,11 @@ def oof():
"""
#foo not parsed
"""
+
+ ###########################################################################
+ # A SEPARATOR #
+ ###########################################################################
+
+ # ####################################################################### #
+ # ########################## another separator ########################## #
+ # ####################################################################### #