8000 stubtest: understand override by hauntsaninja · Pull Request #18815 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

stubtest: understand override #18815

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

Merged
merged 3 commits into from
Mar 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
stubtest: understand override
  • Loading branch information
hauntsaninja committed Mar 19, 2025
commit 9beaaf533740af678e7ff0ab06381e21296daaa8
1 change: 1 addition & 0 deletions mypy/stubtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,6 +1330,7 @@ def apply_decorator_to_funcitem(
if (
decorator.fullname in ("builtins.staticmethod", "abc.abstractmethod")
or decorator.fullname in mypy.types.OVERLOAD_NAMES
or decorator.fullname in mypy.types.OVERRIDE_DECORATOR_NAMES
or decorator.fullname in mypy.types.FINAL_DECORATOR_NAMES
):
return func
Expand Down
Loading
0