-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump pillow to 10.4.0 and mode check PyMunkHitBoxAlgorithm (#2375)
* Bump pillow to 10.4.0 * Replace the use of deprecated / optional attributes * Use getattr for is_animated attribute per the pillow doc * Use getattr for the n_frames attribute as well * Annotate and document load_animated_gif * Use str | Path annotation * Add an Args block documenting resource_name * Cross-ref the resource handles page in the programming guide * Use 10.4.0 transpose constants * Fix PymunkHitBoxAlgorithm.trace_image types + doc * Add ValueError when given non-RGBA image * Add a test for the ValueError * Annotate trace_image's argument * Correct pyright issues inside it * Elaborate on the doc and fix issues with it * Fix pyright issue with tilemap loading * Explain the tile map changes * Silence mypy's issue with Image.Image.open returning ImageFile instead of Image * Run ./make.py format
- Loading branch information
Showing
9 changed files
with
109 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters