Skip to content

factor out PillowPlugin.open() - #654

Merged
almarklein merged 1 commit into
masterfrom
open
Jun 30, 2021
Merged

almarklein merged 1 commit into
masterfrom
open

Conversation

@almarklein

@almarklein almarklein commented Jun 30, 2021 •

Copy link
Copy Markdown
Member

See #562 for the discussion. At first I did not realize that open() was in fact a "private" method only used by the class itself. Nevertheless, with request doing most of the handling, I think the pattern of opening a file when the plugin object is created makes more sense.

@FirefoxMetzger FirefoxMetzger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking good from my side.

The PR coverage failure comes from us reducing the total number of covered lines in the project while keeping the number of uncovered lines constant. This is a false-positive and we could think of decreasing the required coverage to 99.95% or 99.9% to avoid this. Either way, not an issue here.

LGTM, unless you are thinking of adding more to this PR.

@almarklein
almarklein merged commit 7906729 into master Jun 30, 2021
@almarklein
almarklein deleted the open branch June 30, 2021 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants