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

Fixed bug that leads to a false negative when passing multiple `*args… #9322

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

erictraut
Copy link
Collaborator

or**kwargs` arguments to a callable parameterized by a ParamSpec. This addresses #9319.

…` or `**kwargs` arguments to a callable parameterized by a ParamSpec. This addresses #9319.
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:454:15 - error: Arguments for ParamSpec "P@Zen" have already been provided (reportCallIssue)
- 174 errors, 15 warnings, 183 informations 
+ 175 errors, 15 warnings, 183 informations 

@erictraut erictraut merged commit a326745 into main Oct 24, 2024
34 checks passed
@erictraut erictraut deleted the issue-9319-3 branch October 24, 2024 21: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.

1 participant