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 a bug that led to a false negative when a subclass overrides a … #6396

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

erictraut
Copy link
Collaborator

…parent class with an overloaded method in an incompatible manner. This addresses #6382.

…parent class with an overloaded method in an incompatible manner. This addresses #6382.
Copy link
Contributor

github-actions bot commented Nov 9, 2023

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

steam.py (https://github.com/Gobot1234/steam.py)
+ /tmp/mypy_primer/projects/steam.py/steam/ext/commands/utils.py
+   /tmp/mypy_primer/projects/steam.py/steam/ext/commands/utils.py:62:9 - error: Method "pop" overrides class "dict" in an incompatible manner
+     Override does not handle all overloads of base method (reportIncompatibleMethodOverride)
- 8426 errors, 22 warnings, 0 informations 
+ 8427 errors, 22 warnings, 0 informations 

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
-   /tmp/mypy_primer/projects/pandas-stubs/pandas-stubs/_libs/tslibs/timestamps.pyi:212:37 - error: Unnecessary "# pyright: ignore" rule: "reportIncompatibleMethodOverride"
- 1329 errors, 0 warnings, 0 informations 
+ 1328 errors, 0 warnings, 0 informations 

@erictraut erictraut merged commit de7d732 into main Nov 9, 2023
11 checks passed
@erictraut erictraut deleted the issue6382 branch November 9, 2023 05:56
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