Update Ruff and fix its errors

This commit is contained in:
Joakim Hellsén 2026-07-21 04:12:13 +02:00
commit 1424978854
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
39 changed files with 183 additions and 175 deletions

View file

@ -16,7 +16,7 @@ def celery_app() -> Generator[Celery, Any]:
Yields:
Celery: A Celery app instance configured for testing.
"""
with patch("os.environ.setdefault") as mock_setenv: # noqa: F841
with patch("os.environ.setdefault") as mock_setenv: # ruff:ignore[unused-variable]
app = Celery("config")
app.config_from_object("django.conf:settings", namespace="CELERY")
yield app