From c7993952c585b66acad5275e39dbf91cf662b975 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 12 Nov 2026 22:07:12 +0100 Subject: chore(core): enable stricter Ruff lint rules Expand Ruff checks for bugbear, complexity, pathlib, return statements, simplifications, upgrades, and docstring style. Apply the resulting behavior-neutral cleanup across application and test code. --- webmentions_ssg/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'webmentions_ssg/auth.py') diff --git a/webmentions_ssg/auth.py b/webmentions_ssg/auth.py index 633aa82..b943404 100644 --- a/webmentions_ssg/auth.py +++ b/webmentions_ssg/auth.py @@ -44,8 +44,7 @@ def validate_password(password: str) -> None: @AUTH.user_loader def load_user(session_id: str) -> User | None: - """ - Load a user from the database by identifier. + """Load a user from the database by identifier. :param session_id: Database ID and password-hash fingerprint stored in the session. :return: Matching user, or ``None`` if no user exists with the identifier. -- cgit v1.3.1