File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ gpxpy = "1.5.0"
3737Pint = " ^0.21.0"
3838
3939[tool .poetry .dev-dependencies ]
40- pytest = " ^7.4.0 "
40+ pytest = " ^7.4.4 "
4141pytest-cov = " ^4.1"
4242coverage = " ^7.2.7"
43- pre-commit = " ^3.3.3 "
43+ pre-commit = " ^3.5 "
4444mypy = " ^1.4.1"
4545pylint = " ^3.0.2"
4646
Original file line number Diff line number Diff line change 77import PIL
88from piexif import TAGS
99from piexif import TYPES as TAG_TYPES
10- from PIL import Image
10+ from PIL . Image import Image
1111
1212from tempren .alias import TagAlias
1313from tempren .exceptions import FileNotSupportedError , MissingMetadataError
@@ -21,7 +21,7 @@ class PillowTagBase(Tag, ABC):
2121
2222 def process (self , file : File , context : Optional [str ]) -> Any :
2323 try :
24- with Image .open (file .absolute_path ) as img :
24+ with PIL . Image .open (file .absolute_path ) as img :
2525 return self .extract_metadata (img )
2626 except PIL .UnidentifiedImageError :
2727 raise FileNotSupportedError ()
You can’t perform that action at this time.
0 commit comments