Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed type hint #8532

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Fixed type hint #8532

merged 1 commit into from
Nov 5, 2024

Conversation

radarhere
Copy link
Member

An error has started occurring in main - https://github.com/python-pillow/Pillow/actions/runs/11677258842/job/32514847792

setup.py:1010: error: Argument 2 to "Extension" has incompatible type
"list[str]"; expected "list[Union[str, PathLike[str]]]"  [arg-type]
        Extension("PIL._imaging", files),
                                  ^~~~~
setup.py:1010: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
setup.py:1010: note: Consider using "Sequence" instead, which is covariant
Found 1 error in 1 file (checked 294 source files)

@hugovk hugovk merged commit 8561875 into python-pillow:main Nov 5, 2024
66 of 67 checks passed
@radarhere radarhere deleted the type_hint branch November 5, 2024 10:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants