RUF013 updates

This commit is contained in:
awsr
2026-03-24 04:58:19 -07:00
parent 641321d7d2
commit fb853af4b0
7 changed files with 117 additions and 117 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ def diffusers_callback_legacy(step: int, timestep: int, latents: torch.FloatTens
time.sleep(0.1)
def diffusers_callback(pipe, step: int = 0, timestep: int = 0, kwargs: dict = None):
def diffusers_callback(pipe, step: int = 0, timestep: int = 0, kwargs: dict | None = None):
if kwargs is None:
kwargs = {}
t0 = time.time()