Skip to content

Address instances of "Overloaded function signature x will never be matched" + minor typing fixes #1381

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

Closed
wants to merge 1 commit into from

Conversation

craymichael
Copy link
Contributor

Summary: Many overloads produced false positives or required changing order due to mypy breaking ties by picking the first matching variant (https://mypy.readthedocs.io/en/stable/more_types.html). This fixes or suppresses these errors. Created T204932142 to address Literal-related issues.

Differential Revision: D64517613

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64517613

craymichael added a commit to craymichael/captum that referenced this pull request Oct 17, 2024
…atched" + minor typing fixes (pytorch#1381)

Summary:

Many overloads produced false positives or required changing order due to mypy breaking ties by picking the first matching variant (https://mypy.readthedocs.io/en/stable/more_types.html). This fixes or suppresses these errors. Created T204932142 to address Literal-related issues.

Reviewed By: vivekmig

Differential Revision: D64517613
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64517613

…atched" + minor typing fixes (pytorch#1381)

Summary:

Many overloads produced false positives or required changing order due to mypy breaking ties by picking the first matching variant (https://mypy.readthedocs.io/en/stable/more_types.html). This fixes or suppresses these errors. Created T204932142 to address Literal-related issues.

Reviewed By: vivekmig

Differential Revision: D64517613
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D64517613

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 103a3fd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants