style: turn on ruff UP and B rules and fix every finding

This commit is contained in:
imSp4rky
2026-11-25 16:34:09 -07:00
parent 1a63076df2
commit d8058a3610
264 changed files with 2950 additions and 2966 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import socket
import socketserver
import threading
import time
from typing import Callable, Iterator
from collections.abc import Callable, Iterator
import aiohttp
import click
@@ -545,7 +545,7 @@ def spy_links(monkeypatch: pytest.MonkeyPatch) -> list:
return links
def wait_until(check: "Callable[[], bool]", seconds: float = 3) -> bool:
def wait_until(check: Callable[[], bool], seconds: float = 3) -> bool:
deadline = time.monotonic() + seconds
while not check() and time.monotonic() < deadline:
time.sleep(0.05)