diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-28 12:28:38 +0000 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-28 12:28:38 +0000 |
| commit | 53455fdff7e89f83d811feffcdd5238b84113d63 (patch) | |
| tree | e78fc7af443f0d7376ff9be23785b84ecadd2dc8 /src | |
| parent | 47e3e65cc1734e46fd16ea11622e57b7978d3e0d (diff) | |
| parent | c0ddc54f2f5e3f453735780e639be08ef3b15e2d (diff) | |
| download | flake8-53455fdff7e89f83d811feffcdd5238b84113d63.tar.gz | |
Merge branch 'bug/178' into 'master'
Match noqa for users with explanations
*Description of changes*
*Related to:* #178
See merge request !99
Diffstat (limited to 'src')
| -rw-r--r-- | src/flake8/defaults.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/defaults.py b/src/flake8/defaults.py index 73cadf1..e3ac9fb 100644 --- a/src/flake8/defaults.py +++ b/src/flake8/defaults.py @@ -27,7 +27,7 @@ NOQA_INLINE_REGEXP = re.compile( # 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-Z][0-9]+,?)+))?', re.IGNORECASE ) |
