Tarek Ziadé  committed cf48078 Merge

Merged in cyberdelia/flake8 (pull request #4)

  • Participants
  • Parent commits 98cb96b, ed773a0
  • Branches default

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

File flake8/

     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):