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 for ImageShow #7712

Merged
merged 2 commits into from Jan 14, 2024

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Jan 13, 2024

Helps #2625.

@@ -180,7 +182,11 @@ class UnixViewer(Viewer):
format = "PNG"
options = {"compress_level": 1, "save_all": True}

def get_command(self, file, **options):
@abc.abstractmethod
Copy link
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
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
56 checks passed
@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.

None yet

2 participants