diff options
Diffstat (limited to 'src/flake8')
| -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 ) |
