summaryrefslogtreecommitdiff
path: root/sphinx/pycode/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/pycode/parser.py')
-rw-r--r--sphinx/pycode/parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/pycode/parser.py b/sphinx/pycode/parser.py
index 7dd924822..49ef4f7ff 100644
--- a/sphinx/pycode/parser.py
+++ b/sphinx/pycode/parser.py
@@ -190,7 +190,7 @@ class AfterCommentParser(TokenProcessor):
tokens += self.fetch_until([OP, ']'])
elif self.current == INDENT:
tokens += self.fetch_until(DEDENT)
- elif self.current == [OP, ';']:
+ elif self.current == [OP, ';']: # NoQA: SIM114
break
elif self.current.kind not in (OP, NAME, NUMBER, STRING):
break