Merge pull request #8532 from radarhere/type_hint

This commit is contained in:
Hugo van Kemenade 2024-11-05 12:12:43 +02:00 committed by GitHub
commit 8561875b2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1001,7 +1001,7 @@ def debug_build() -> bool:
return hasattr(sys, "gettotalrefcount") or FUZZING_BUILD return hasattr(sys, "gettotalrefcount") or FUZZING_BUILD
files = ["src/_imaging.c"] files: list[str | os.PathLike[str]] = ["src/_imaging.c"]
for src_file in _IMAGING: for src_file in _IMAGING:
files.append("src/" + src_file + ".c") files.append("src/" + src_file + ".c")
for src_file in _LIB_IMAGING: for src_file in _LIB_IMAGING: