mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-02 02:43:06 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
b430b02a31
commit
acde784811
|
@ -2908,7 +2908,12 @@ class Image:
|
|||
Resampling.BILINEAR,
|
||||
Resampling.BICUBIC,
|
||||
):
|
||||
if resample in (Resampling.BOX, Resampling.HAMMING, Resampling.LANCZOS, Resampling.MKS2021):
|
||||
if resample in (
|
||||
Resampling.BOX,
|
||||
Resampling.HAMMING,
|
||||
Resampling.LANCZOS,
|
||||
Resampling.MKS2021,
|
||||
):
|
||||
unusable: dict[int, str] = {
|
||||
Resampling.BOX: "Image.Resampling.BOX",
|
||||
Resampling.HAMMING: "Image.Resampling.HAMMING",
|
||||
|
|
Loading…
Reference in New Issue
Block a user