Enable collections-named-tuple (PYI024) rule in ruff (#123019)

This commit is contained in:
epenet
2024-08-02 15:28:32 +02:00
committed by GitHub
parent b6c9fe86e1
commit e734971d33
20 changed files with 21 additions and 22 deletions

View File

@ -20,7 +20,7 @@ except ImportError:
RE_ASCII = re.compile(r"\033\[[^m]*m")
Error = namedtuple("Error", ["file", "line", "col", "msg", "skip"])
Error = namedtuple("Error", ["file", "line", "col", "msg", "skip"]) # noqa: PYI024
PASS = "green"
FAIL = "bold_red"