summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flake8/defaults.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flake8/defaults.py b/src/flake8/defaults.py
index 1b5d091..22304a9 100644
--- a/src/flake8/defaults.py
+++ b/src/flake8/defaults.py
@@ -35,6 +35,7 @@ NOQA_INLINE_REGEXP = re.compile(
# 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
+ # https://regex101.com/r/4XUuax/2 full explenation of the regex
r"# noqa(?::[\s]?(?P<codes>([A-Z][0-9]+(?:[,\s]+)?)+))?",
re.IGNORECASE,
)