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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 21 additions and 22 deletions

View file

@ -61,7 +61,7 @@ async def test_system_status_subscription(
response = await client.receive_json()
assert response["success"]
VirtualMem = namedtuple("VirtualMemory", ["available", "percent", "total"])
VirtualMem = namedtuple("VirtualMemory", ["available", "percent", "total"]) # noqa: PYI024
vmem = VirtualMem(10 * 1024**2, 50, 30 * 1024**2)
with (