-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Weak or improper support for overloads #5712
Labels
Duplicate 🐫
Duplicate of an already existing issue
False Negative 🦋
No message is emitted but something is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Comments
flisboac
added
the
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
label
Jan 24, 2022
DanielNoord
added
False Negative 🦋
No message is emitted but something is wrong with the code
and removed
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
labels
Jan 24, 2022
Note that the |
Pierre-Sassoulas
added
the
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
label
Jul 6, 2022
Thanks for the report. |
This was referenced Feb 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Duplicate 🐫
Duplicate of an already existing issue
False Negative 🦋
No message is emitted but something is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
As requested by @DanielNoord , I'm creating this issue with some of the findings I commented about on another issue.
It seems like pylint either:
Consider the following base code:
Now, suppose I'm gonna use
Service.run_job
in some capacity. The comments expose the behaviour I expect pylint to have, including some comparison with mypy (but could be another linter; I used it as means to comparison, just to confirm if I was mistaken or not):Note that the problem here is the absence of output for some pretty obvious mistakes.
Configuration
# defaults; no custom config whatsoever
Command used
Pylint output
Expected behavior
Please, see the comments on
main
function's implementation.Pylint version
OS / Environment
Microsoft Windows 10 Enterprise (v. 10.0.18363 build 18363)
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: