Skip to content

Conversation

@stoyan-atanasov-beye
Copy link
Contributor

Summary

Fixed Poetry configuration to properly include type information in package distributions.

Changes Made

Fixed py.typed inclusion

  • added include = ["fastapi_oidc/py.typed"] in the main [tool.poetry] section
  • This ensures the py.typed marker file is properly included in package distributions

Verification

  • ✅ Build now completes successfully without errors
  • py.typed file is included in both wheel and source distributions

This ensures the package properly declares itself as typed (PEP 561) and can be used with type checkers like mypy.

Closes #50

Copy link
Owner

@HarryMWinters HarryMWinters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HarryMWinters HarryMWinters merged commit d73ebc0 into HarryMWinters:master Sep 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add PEP 561 py.typed marker so editors/type-checkers treat package as typed

2 participants