diff options
| author | Dennis Fink | 2026-11-12 22:07:12 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-12 22:07:12 +0100 |
| commit | c7993952c585b66acad5275e39dbf91cf662b975 (patch) | |
| tree | 976b3746444b3bd0bbb269bef9197c8b6a2e1696 /webmentions_ssg/auth.py | |
| parent | b930b4425b91aa42abcec6c3443685065a5ca242 (diff) | |
| download | webmentions-ssg-c7993952c585b66acad5275e39dbf91cf662b975.tar.gz webmentions-ssg-c7993952c585b66acad5275e39dbf91cf662b975.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | webmentions_ssg/auth.py | 3 |
1 files changed, 1 insertions, 2 deletions
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. |
