Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Dec 31, 2023

Changes proposed in this pull request:

  • With recent Coverage.py, we can use exclude_also instead of exclude_lines which requires re-enabling the standard pragma
  • create_lut() was a helper method not run anywhere, should we delete it instead?
  • class TypeGuard is compatibility code being introduced in Add type hints to _util #7642. We have a # type: ignore[no-redef] on it, and I don't think we need to cover it in tests either.

@hugovk hugovk added the Testing label Dec 31, 2023
@nulano
Copy link
Contributor

nulano commented Dec 31, 2023

create_lut() was a helper method not run anywhere, should we delete it instead?

+1 for deleting it, it's easy to temporarily recreate if necessary.

@radarhere radarhere merged commit d6fd4c9 into python-pillow:main Jan 1, 2024
@hugovk hugovk deleted the coverage-exclude_also branch January 1, 2024 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants