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

Changed type evaluation behavior for accesses to attributes on a clas… #6137

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

erictraut
Copy link
Collaborator

…s that derives from Any. Previously, these were evaluated as Unknown, but they are now evaluated as Any. This is related to #6136.

…s that derives from `Any`. Previously, these were evaluated as `Unknown`, but they are now evaluated as `Any`. This is related to #6136.
@github-actions
Copy link
Contributor

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

Tanjun (https://github.com/FasterSpeeding/Tanjun)
-   /tmp/mypy_primer/projects/Tanjun/tests/test_injecting.py:47:30 - warning: Type of "injector" is unknown (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/Tanjun/tests/test__internal/test_init.py:51:5 - warning: Type of "call_with_async_di" is unknown (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/Tanjun/tests/test__internal/test_init.py:51:5 - warning: Type of "assert_not_called" is unknown (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/Tanjun/tests/test__internal/test_init.py:64:5 - warning: Type of "call_with_async_di" is unknown (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/Tanjun/tests/test__internal/test_init.py:79:5 - warning: Type of "call_with_async_di" is unknown (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/Tanjun/tests/test__internal/test_init.py:94:5 - warning: Type of "call_with_async_di" is unknown (reportUnknownMemberType)
- 2344 errors, 9819 warnings, 0 informations 
+ 2344 errors, 9813 warnings, 0 informations 

@erictraut erictraut merged commit 2916bb2 into main Oct 12, 2023
11 checks passed
@erictraut erictraut deleted the issue6136 branch October 12, 2023 15:52
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