re-apply ruff TCH rules

This commit is contained in:
imperosol committed 2026-09-07 13:32:13 +02:00
1 parent d93afffbc3
commit 7bd79d1d55
63 files changed
+288 -88

No files matched your search

+4 -1
View File
@@ -1,8 +1,11 @@
from typing import TYPE_CHECKING
from urllib.parse import urlparse
from django.http import HttpRequest
from django.urls import resolve
if TYPE_CHECKING:
from django.http import HttpRequest
def is_logged_in_counter(request: HttpRequest) -> bool:
"""Check if the request is sent from a device logged to a counter.