ruff check

This commit is contained in:
Leo Vasanko
2026-02-17 20:19:52 +00:00
parent c79155a6eb
commit a52f1c318b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
from __future__ import annotations
"""API response utilities using msgspec for JSON serialization.
msgspec handles UUID and datetime conversion automatically.
API structs inherit from db structs with kw_only=True to add uuid/key fields.
"""
from __future__ import annotations
from datetime import datetime
from uuid import UUID
+1 -1
View File
@@ -16,6 +16,7 @@ from datetime import UTC, datetime, timedelta
import httpx
import pytest
from paskia import authcode
from paskia.authsession import EXPIRES
from paskia.db import delete_session
from paskia.util.passphrase import generate
@@ -311,7 +312,6 @@ class TestSetSessionEndpoint:
self, client: httpx.AsyncClient, session_token: str
):
"""Set session with valid auth code as bearer should set cookie."""
from paskia import authcode
code = authcode.store_cookie(
authcode.CookieCode(