Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix FilesSpec parameters variance issues by making it a Mapping instead of a dict #3

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Aug 17, 2024

This fixes over around 30 reportArgumentType type errors right now in setuptools as found by pyright in pypa/setuptools#4192
Around 80 as more dicts are typed more precisely than dict[str, Any/Unknown]

These would all eventually become type issues in mypy as well once that code is checked for.

Relates to #2

@Avasam Avasam force-pushed the FileSpec-variance branch from d8e2933 to eb71932 Compare August 22, 2024 19:58
@jaraco jaraco merged commit 3d34edc into jaraco:main Aug 29, 2024
12 checks passed
@Avasam Avasam deleted the FileSpec-variance branch August 29, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants