From 367ea703ce80fd24eed594d663460f0908e0ce57 Mon Sep 17 00:00:00 2001 From: imperosol Date: Tue, 3 Feb 2026 21:21:48 +0100 Subject: [PATCH] remove `fmt: off` --- counter/management/commands/dump_accounts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/counter/management/commands/dump_accounts.py b/counter/management/commands/dump_accounts.py index de8d113a..351c2f21 100644 --- a/counter/management/commands/dump_accounts.py +++ b/counter/management/commands/dump_accounts.py @@ -65,10 +65,10 @@ class Command(BaseCommand): """Fetch the users which have a pending account dump.""" threshold = now() - settings.SITH_ACCOUNT_DUMP_DELTA ongoing_dump_operations: QuerySet[AccountDump] = ( - AccountDump.objects.ongoing() - .filter(customer__user=OuterRef("pk"), warning_mail_sent_at__lt=threshold) - ) # fmt: off - # cf. https://github.com/astral-sh/ruff/issues/14103 + AccountDump.objects.ongoing().filter( + customer__user=OuterRef("pk"), warning_mail_sent_at__lt=threshold + ) + ) return ( User.objects.filter(Exists(ongoing_dump_operations)) .annotate(