Revert "much stricter ruff linting"

This reverts commit 310dbf1574.
This commit is contained in:
Vladimir Mandic
2026-05-11 08:13:57 +02:00
parent 8296d07ff8
commit c8d6fd5cf8
132 changed files with 363 additions and 292 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ def list_models(refresh=False):
class ControlLLLite():
def __init__(self, model_id: str | None = None, device = None, dtype = None, load_config = None):
def __init__(self, model_id: str = None, device = None, dtype = None, load_config = None):
self.model: ControlNetLLLite = None
self.model_id: str = model_id
self.device = device
@@ -83,7 +83,7 @@ class ControlLLLite():
self.model = None
self.model_id = None
def load(self, model_id: str | None = None, force: bool = True) -> str:
def load(self, model_id: str = None, force: bool = True) -> str:
with load_lock:
try:
t0 = time.time()