Skip to content
Snippets Groups Projects
Commit 8e399cf6 authored by Ian Lee's avatar Ian Lee Committed by GitHub
Browse files

Merge pull request #697 from dirkmueller/master

Fix missed quoting in E722 check
parents 6faef2bf f92a2e36
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1280,7 +1280,7 @@ def bare_except(logical_line, noqa):
regex = re.compile(r"except\s*:")
match = regex.match(logical_line)
if match:
yield match.start(), "E722 do not use bare except'"
yield match.start(), "E722 do not use bare 'except'"
 
 
@register_check
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment