From 2c8b8f6247fa99463f8f746278634091f56f54ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Peignier?= Date: Sun, 25 Dec 2011 11:02:36 +0100 Subject: [PATCH] allow the flake8: header to be more generic --- flake8/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):