mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-01 02:13:11 +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.BILINEAR,
|
||||||
Resampling.BICUBIC,
|
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] = {
|
unusable: dict[int, str] = {
|
||||||
Resampling.BOX: "Image.Resampling.BOX",
|
Resampling.BOX: "Image.Resampling.BOX",
|
||||||
Resampling.HAMMING: "Image.Resampling.HAMMING",
|
Resampling.HAMMING: "Image.Resampling.HAMMING",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user