Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create py.typed #54

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Create py.typed #54

merged 1 commit into from
Feb 23, 2024

Conversation

Rafiot
Copy link
Contributor

@Rafiot Rafiot commented Feb 23, 2024

That can barely considered as a PR, but if you add this file, mypy will know the package is typed and it can validate code when used as a module: https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker

So mypy knows the package is typed
@cdgriffith cdgriffith changed the base branch from master to develop February 23, 2024 15:27
@cdgriffith cdgriffith merged commit 3315744 into cdgriffith:develop Feb 23, 2024
5 checks passed
@cdgriffith
Copy link
Owner

Good spot and fix, thank you!

@cdgriffith cdgriffith mentioned this pull request Feb 23, 2024
cdgriffith added a commit that referenced this pull request Feb 23, 2024
- Adding #50 details for  ZSoft .pcx files (thanks to Andy - NebularNerd)
- Adding #51 details for JXL files (thanks to Andy - NebularNerd)
- Adding #54 missing py.typed file (thanks to Raphaël Vinot)
- Fixing #53 magic data for GIF images (thanks to Andy - NebularNerd)

---------

Co-authored-by: Raphaël Vinot <Rafiot@users.noreply.github.com>
Co-authored-by: Andy <NebularNerd@users.noreply.github.com>
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.

2 participants