mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 14:54:17 +00:00
match isn't helpful with the new NOQA regexp
This commit is contained in:
parent
49b10fcad3
commit
bdc297d151
1 changed files with 1 additions and 1 deletions
|
|
@ -24,4 +24,4 @@ def skip_file(path):
|
||||||
content = f.read()
|
content = f.read()
|
||||||
finally:
|
finally:
|
||||||
f.close()
|
f.close()
|
||||||
return _NOQA.match(content) is not None
|
return _NOQA.search(content) is not None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue