diff --git a/flake8/util.py b/flake8/util.py index 42f15d8..86db8ce 100644 --- a/flake8/util.py +++ b/flake8/util.py @@ -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):