mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-23 19:44:13 +03:00
fix types hints for ImageFile._Tile
This commit is contained in:
parent
90d5552800
commit
cc51dace35
|
@ -144,7 +144,6 @@ exclude = [
|
||||||
'^src/PIL/DdsImagePlugin.py$',
|
'^src/PIL/DdsImagePlugin.py$',
|
||||||
'^src/PIL/FpxImagePlugin.py$',
|
'^src/PIL/FpxImagePlugin.py$',
|
||||||
'^src/PIL/Image.py$',
|
'^src/PIL/Image.py$',
|
||||||
'^src/PIL/ImageFile.py$',
|
|
||||||
'^src/PIL/ImageMath.py$',
|
'^src/PIL/ImageMath.py$',
|
||||||
'^src/PIL/ImageMorph.py$',
|
'^src/PIL/ImageMorph.py$',
|
||||||
'^src/PIL/ImageQt.py$',
|
'^src/PIL/ImageQt.py$',
|
||||||
|
|
|
@ -32,7 +32,7 @@ import io
|
||||||
import itertools
|
import itertools
|
||||||
import struct
|
import struct
|
||||||
import sys
|
import sys
|
||||||
from typing import NamedTuple
|
from typing import Any, NamedTuple
|
||||||
|
|
||||||
from . import Image
|
from . import Image
|
||||||
from ._deprecate import deprecate
|
from ._deprecate import deprecate
|
||||||
|
@ -94,7 +94,7 @@ class _Tile(NamedTuple):
|
||||||
encoder_name: str
|
encoder_name: str
|
||||||
extents: tuple[int, int, int, int]
|
extents: tuple[int, int, int, int]
|
||||||
offset: int
|
offset: int
|
||||||
args: tuple | str | None
|
args: tuple[Any, ...] | str | None
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue
Block a user