summaryrefslogtreecommitdiff
path: root/src/flake8
diff options
context:
space:
mode:
Diffstat (limited to 'src/flake8')
-rw-r--r--src/flake8/style_guide.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/style_guide.py b/src/flake8/style_guide.py
index 284444d..950d722 100644
--- a/src/flake8/style_guide.py
+++ b/src/flake8/style_guide.py
@@ -63,7 +63,7 @@ class StyleGuide(object):
# We do not care about the ``: `` that follows ``noqa``
# We do not care about the casing of ``noqa``
# We want a comma-separated list of errors
- '# noqa(?:: )?(?P<codes>[A-Z0-9,]+)?$',
+ '# noqa(?:: (?P<codes>[A-Z0-9,]+))?',
re.IGNORECASE
)