mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
Clearer docs, NOQA_INLINE_REGEXP comment - fixes #469
This commit is contained in:
parent
4773995430
commit
cafe780514
3 changed files with 5 additions and 4 deletions
|
|
@ -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]+)?)+))?",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue