Enable collections-named-tuple (PYI024) rule in ruff (#123019)
This commit is contained in:
parent
b6c9fe86e1
commit
e734971d33
20 changed files with 21 additions and 22 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue