Commits

cyberdelia committed 0b75be1

match isn't helpful with the new NOQA regexp

Comments (0)

Files changed (1)

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