From 4c50f6be754c7a474c5abc2cde7412041289f754 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Fri, 13 Nov 2026 21:45:19 +0100 Subject: refactor(core): remove postponed model annotations Drop `from __future__ import annotations` now that UUID names no longer shadow the module namespace, and add coverage that mapped UUID and relationship annotations resolve correctly at runtime. Apply minor Python 3.14 syntax and formatting cleanup across tests and networking. --- tests/test_auth.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/test_auth.py') diff --git a/tests/test_auth.py b/tests/test_auth.py index e026e45..bc951b9 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -22,9 +22,7 @@ def test_user_loader_is_registered(app: Flask) -> None: assert AUTH._user_callback is load_user -def test_dummy_password_hash_is_lazily_cached( - monkeypatch: pytest.MonkeyPatch, -) -> None: +def test_dummy_password_hash_is_lazily_cached(monkeypatch: pytest.MonkeyPatch) -> None: generated_passwords: list[str] = [] def fake_generate_password_hash(password: str) -> str: -- cgit v1.3.1