Skip to content

Commit 8e399cf

Browse files
authored
Merge pull request #697 from dirkmueller/master
Fix missed quoting in E722 check
2 parents 6faef2b + f92a2e3 commit 8e399cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycodestyle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ def bare_except(logical_line, noqa):
12801280
regex = re.compile(r"except\s*:")
12811281
match = regex.match(logical_line)
12821282
if match:
1283-
yield match.start(), "E722 do not use bare except'"
1283+
yield match.start(), "E722 do not use bare 'except'"
12841284

12851285

12861286
@register_check

0 commit comments

Comments
 (0)