Enhance type hinting
All checks were successful
Deploy to Server / deploy (push) Successful in 22s

This commit is contained in:
Joakim Hellsén 2026-04-05 03:57:18 +02:00
commit 06c0af7009
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
6 changed files with 100 additions and 49 deletions

View file

@ -12,6 +12,4 @@ def base_url(request: HttpRequest) -> dict[str, str]:
Returns:
dict[str, str]: A dictionary containing the BASE_URL.
"""
return {
"BASE_URL": getattr(settings, "BASE_URL", ""),
}
return {"BASE_URL": getattr(settings, "BASE_URL", "")}