diff options
author | Ian Lee <IanLee1521@gmail.com> | 2017-10-24 07:36:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 07:36:24 -0700 |
commit | 8e399cf652f8e9b1dfcb245f4b23ede0158854ee (patch) | |
tree | 70e1048c9dd2ba48e125d801bf6480f738bc6d66 | |
parent | 6faef2bfda5752c87d432872fe0000aa13316014 (diff) | |
parent | f92a2e36d5dcaf5acec58931f42695230131ea58 (diff) | |
download | pep8-8e399cf652f8e9b1dfcb245f4b23ede0158854ee.tar.gz |
Merge pull request #697 from dirkmueller/master
Fix missed quoting in E722 check
-rwxr-xr-x | pycodestyle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pycodestyle.py b/pycodestyle.py index d31ac9e..dc486c8 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -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 |