mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 05:54:17 +00:00
Merged in cyberdelia/flake8 (pull request #4)
This commit is contained in:
commit
ad87ad1960
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ def skip_line(line):
|
|||
return line.strip().lower().endswith('# noqa')
|
||||
|
||||
|
||||
_NOQA = re.compile(r'^# flake8: noqa', re.I | re.M)
|
||||
_NOQA = re.compile(r'flake8[:=]\s*noqa', re.I | re.M)
|
||||
|
||||
|
||||
def skip_file(path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue