release v0.9.1#18
Conversation
Ships py.typed per PEP 561 so type annotations are visible to mypy, pyright, and IDEs when consumers install from PyPI. Adds mypy to the dev deps; strict-mode CI gating is deferred until the existing 190 errors are cleaned up in a dedicated typed-hardening release.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
📝 WalkthroughWalkthroughA patch version bump (0.9.0 → 0.9.1) that adds the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Patch release that ships type information to consumers.
fastapi_fullauth/py.typed(PEP 561). mypy, pyright, and IDE language servers now pick up the annotations — genericFullAuth[UserSchema, CreateUserSchema]with PEP 696 defaults,CurrentUser/VerifiedUser/SuperUsertyped dependencies,require_role/require_permissionfactories, adapter mixin surfaces. Previously treated asAnydownstream.mypyto the dev dependency group for contributors.AbstractUserAdapter, passkey-config narrowings) that deserves a dedicated typed-hardening pass rather than being crammed into a patch.Test plan
uv run ruff format --check .cleanuv run ruff check .cleanuv run pytest tests/— 188 passed, 1 skippeduv build --wheeland confirmedfastapi_fullauth/py.typedis inside the wheelgh release create v0.9.1 --target maintriggers publish.yml → PyPIuv pip install fastapi-fullauth==0.9.1and mypy on a toy script usingFullAuth[...]sees real types instead ofAnySummary by CodeRabbit
py.typedmarker.