mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 23:34:17 +00:00
Merged in cyberdelia/flake8/regexp-search (pull request #6)
This commit is contained in:
commit
a6fba0ebb5
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