summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2018-10-28 20:25:53 +0000
committerAnthony Sottile <asottile@umich.edu>2018-10-28 20:25:53 +0000
commit732a466ee8eec06d195ec70081e53ec187b5b114 (patch)
tree3eebe71fd3549c1b0b2b8040885e7705d54e4744 /src
parent4773995430e56f5669861438cc3ce2845953ad51 (diff)
parentcafe7805147a44959038dfb489a95d157a8e43b9 (diff)
downloadflake8-732a466ee8eec06d195ec70081e53ec187b5b114.tar.gz
Merge branch 'defect/469-improve-inline-noqa-regex-comment-and-documentation' into 'master'
Clearer docs, NOQA_INLINE_REGEXP comment - fixes #469 Closes #469 See merge request pycqa/flake8!262
Diffstat (limited to 'src')
-rw-r--r--src/flake8/defaults.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/defaults.py b/src/flake8/defaults.py
index 61f2571..ec68067 100644
--- a/src/flake8/defaults.py
+++ b/src/flake8/defaults.py
@@ -30,7 +30,7 @@ NOQA_INLINE_REGEXP = re.compile(
# ``# noqa: E123,W451,F921``
# ``# NoQA: E123,W451,F921``
# ``# NOQA: E123,W451,F921``
- # We do not care about the ``: `` that follows ``noqa``
+ # We do not want to capture the ``: `` that follows ``noqa``
# We do not care about the casing of ``noqa``
# We want a comma-separated list of errors
r"# noqa(?:: (?P<codes>([A-Z][0-9]+(?:[,\s]+)?)+))?",