We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d4201 commit 258f422Copy full SHA for 258f422
.jenkins/remove_runnable_code.py
@@ -16,9 +16,17 @@
16
if line.startswith('#'):
17
ret_lines.append(line)
18
state = STATE_NORMAL
19
+ elif ((line.startswith('"""') or line.startswith('r"""')) and
20
+ line.endswith('"""')):
21
+ ret_lines.append(line)
22
+ state = STATE_NORMAL
23
elif line.startswith('"""') or line.startswith('r"""'):
24
25
state = STATE_IN_MULTILINE_COMMENT_BLOCK_DOUBLE_QUOTE
26
+ elif ((line.startswith("'''") or line.startswith("r'''")) and
27
+ line.endswith("'''")):
28
29
30
elif line.startswith("'''") or line.startswith("r'''"):
31
32
state = STATE_IN_MULTILINE_COMMENT_BLOCK_SINGLE_QUOTE
0 commit comments