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

Check test type hints #8208

Merged
merged 1 commit into from
Jul 6, 2024
Merged

Conversation

radarhere
Copy link
Member

After the changes in this PR, there are only half a dozen files left in Tests that do not pass mypy. So I've updated tox to also check Tests, and excluded those left with errors.

By running mypy over Tests, it better ensures that Pillow's main type hints are correct, as the test suite provides example input and handles output.

@hugovk hugovk merged commit d2c3365 into python-pillow:main Jul 6, 2024
49 of 50 checks passed
@radarhere radarhere deleted the type_hint_tests branch July 6, 2024 11:29
@radarhere radarhere mentioned this pull request Jul 6, 2024
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