Skip to content

Conversation

@Tim020
Copy link
Contributor

@Tim020 Tim020 commented Jan 28, 2026

Summary

  • Add from __future__ import annotations (PEP 563) to all 10 server-side files that use TYPE_CHECKING or string-quoted forward references
  • Remove all unnecessary string quotes from Mapped[...] type annotations, function parameter annotations, and return type annotations
  • Applies ruff format reformatting where line lengths changed (show.py)

Test plan

  • ruff check server/ passes with no errors
  • ruff format server/ reports no changes needed
  • pytest — all 313 tests pass
  • Verified SQLAlchemy models work correctly with deferred annotations

🤖 Generated with Claude Code

…annotations

Add PEP 563 deferred annotation evaluation to all files that use
TYPE_CHECKING or string-quoted forward references, then remove the
now-unnecessary string quotes from Mapped[] type annotations and
function parameter/return type annotations.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions github-actions bot added server Pull requests changing back end code medium-diff labels Jan 28, 2026
@github-actions
Copy link

Client Test Results

83 tests   83 ✅  0s ⏱️
 3 suites   0 💤
 1 files     0 ❌

Results for commit ddfe09c.

@sonarqubecloud
Copy link

@github-actions
Copy link

Python Test Results

  1 files    1 suites   38s ⏱️
313 tests 313 ✅ 0 💤 0 ❌
318 runs  318 ✅ 0 💤 0 ❌

Results for commit ddfe09c.

@Tim020 Tim020 merged commit 0dd0650 into dev Jan 28, 2026
25 checks passed
@Tim020 Tim020 deleted the standardize-future-annotations branch January 28, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

medium-diff server Pull requests changing back end code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants