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 bugs that resulted in false positive errors when using an expre… #9433

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

erictraut
Copy link
Collaborator

…ssion of the form type(A) as a base class or a metaclass in a class definition. This addresses #9430.

…ssion of the form `type(A)` as a base class or a metaclass in a class definition. This addresses #9430.
Copy link
Contributor

github-actions bot commented Nov 8, 2024

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

comtypes (https://github.com/enthought/comtypes)
-   /tmp/mypy_primer/projects/comtypes/comtypes/_post_coinit/unknwn.py:267:7 - error: The metaclass of a derived class must be a subclass of the metaclasses of all its base classes
-     Metaclass "_compointer_meta" conflicts with "_CDataMeta" (reportGeneralTypeIssues)
- 541 errors, 27 warnings, 0 informations 
+ 540 errors, 27 warnings, 0 informations 

@erictraut erictraut merged commit 240fa3c into main Nov 9, 2024
18 checks passed
@erictraut erictraut deleted the issue-9430 branch November 9, 2024 01:15
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