Skip to content

Added type hints for ImageShow#7712

Merged
hugovk merged 2 commits intopython-pillow:mainfrom
radarhere:type_hints_imageshow
Jan 14, 2024
Merged

Added type hints for ImageShow#7712
hugovk merged 2 commits intopython-pillow:mainfrom
radarhere:type_hints_imageshow

Conversation

@radarhere
Copy link
Copy Markdown
Member

@radarhere radarhere commented Jan 13, 2024

Helps #2625.

options = {"compress_level": 1, "save_all": True}

def get_command(self, file, **options):
@abc.abstractmethod
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we exclude this from coverage?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, done

@hugovk hugovk merged commit 1d25a39 into python-pillow:main Jan 14, 2024
@radarhere radarhere deleted the type_hints_imageshow branch January 14, 2024 12:14
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.

2 participants