-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Overloaded deprecated method use is not reported #18474
Closed
sobolevn opened this issue
Jan 15, 2025
· 4 comments
· Fixed by #18477 or python-gitlab/python-gitlab#3122
Closed
Overloaded deprecated method use is not reported #18474
sobolevn opened this issue
Jan 15, 2025
· 4 comments
· Fixed by #18477 or python-gitlab/python-gitlab#3122
Labels
Comments
cc @tyralla who solved similar problems. |
Strange. I will have a look at it. Thanks for reporting! |
Is it fixed by #18333, by any chance? |
Nope :( Using the same gist:
|
tyralla
added a commit
to tyralla/mypy
that referenced
this issue
Jan 15, 2025
Fixes python#18474 It seems I covered overloaded functions, descriptors, and special methods so far but completely forgot about "normal" methods (thanks to @sobolevn for pointing this out). This addition should do the trick.
x612skm
pushed a commit
to x612skm/mypy-dev
that referenced
this issue
Feb 24, 2025
Fixes python#18474 It seems I covered overloaded functions, descriptors, and special methods so far but completely forgot about "normal" methods (thanks to @sobolevn for pointing this out). This addition should do the trick. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: sobolevn <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Playground: https://mypy-play.net/?mypy=latest&python=3.12&gist=6ae94d19a2160b47cd3c3f2f0bc96553
This code does not produce a
[deprecated]
error:However, this one does:
Version:
The text was updated successfully, but these errors were encountered: