Tarek Ziadé committed cf48078 Merge

Merged in cyberdelia/flake8 (pull request #4)

Comments (0)

Files changed (2)

 It also adds a few features:
-- files that starts with this header are skipped::
+- files that contains with this header are skipped::
     # flake8: noqa
     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):