Commits

cyberdelia  committed 0b75be1

match isn't helpful with the new NOQA regexp

  • Participants
  • Parent commits 46dc28e
  • Branches regexp-search

Comments (0)

Files changed (1)

File flake8/util.py

         content = f.read()
     finally:
         f.close()
-    return _NOQA.match(content) is not None
+    return _NOQA.search(content) is not None