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

Added type hints to seven plugins #7716

Merged
merged 2 commits into from Jan 15, 2024
Merged

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jan 15, 2024

Helps #2625.

Add type hints to seven plugins that require minimal changes to adhere to mypy --strict.

  • McIdasImagePlugin
  • PcdImagePlugin
  • PcxImagePlugin
  • PixarImagePlugin
  • SunImagePlugin
  • XVThumbImagePlugin
  • XbmImagePlugin

src/PIL/Image.py Outdated Show resolved Hide resolved
src/PIL/Image.py Outdated Show resolved Hide resolved
@hugovk hugovk changed the title Added type hints Added type hints to seven plugins Jan 15, 2024
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@hugovk hugovk merged commit fd5df78 into python-pillow:main Jan 15, 2024
56 checks passed
@radarhere radarhere deleted the type_hints branch January 15, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants