Reformat and switch to ruff

This commit is contained in:
I-Al-Istannen
2025-10-19 15:19:43 +02:00
parent ee4625be78
commit 2cf0e060ed
31 changed files with 1507 additions and 587 deletions

View File

@@ -12,12 +12,7 @@ class Slot:
class Limiter:
def __init__(
self,
task_limit: int,
download_limit: int,
task_delay: float
):
def __init__(self, task_limit: int, download_limit: int, task_delay: float):
if task_limit <= 0:
raise ValueError("task limit must be at least 1")
if download_limit <= 0: