Merged in cyberdelia/flake8 (pull request #4)

This commit is contained in:
Tarek Ziadé 2012-01-04 16:02:29 +01:00
commit ad87ad1960
2 changed files with 2 additions and 2 deletions

2
README
View file

@ -14,7 +14,7 @@ in a per-file, merged output.
It also adds a few features:
- files that starts with this header are skipped::
- files that contains with this header are skipped::
# flake8: noqa

View file

@ -11,7 +11,7 @@ def skip_line(line):
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):