Skip to content

provide py.typed marker file - #135

Merged
jaraco merged 6 commits into
jaraco:mainfrom
davidism:py.typed-marker
Feb 1, 2022
Merged

jaraco merged 6 commits into
jaraco:mainfrom
davidism:py.typed-marker

Conversation

@davidism

@davidism davidism commented Jun 8, 2021

Copy link
Copy Markdown
Contributor

This tells mypy the the package provides its own types.

I had to move to a package layout in order for the marker to be included in the wheel. This shouldn't change any behavior.

closes #133

davidism added 3 commits June 7, 2021 21:53
This is required to get bdist_wheel to add py.typed in the wheel.
@jaraco

jaraco commented Feb 1, 2022

Copy link
Copy Markdown
Owner

I'm surprised the tests pass on this change. It looks like inflect was accidentally changed to inflect.inflect. I would have expected a rename from inflect.py -> inflect/__init__.py.

@davidism

davidism commented Feb 1, 2022

Copy link
Copy Markdown
Contributor Author

Huh, not sure how I made that mistake, I'll fix it.

@jaraco

jaraco commented Feb 1, 2022

Copy link
Copy Markdown
Owner

Huh, not sure how I made that mistake, I'll fix it.

No worries. Easy fix.

@jaraco
jaraco merged commit 845d3ce into jaraco:main Feb 1, 2022
@davidism
davidism deleted the py.typed-marker branch September 27, 2022 17:49
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.

provide py.typed marker file

2 participants