-
-
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
invalid-*-returned false positives in stubs #4736
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Good first issue
Friendly and approachable by new contributors
Hacktoberfest
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Comments
jolaf
changed the title
invalid-index-returned false positive in stubs
invalid-*-returned false positives in stubs
Jul 21, 2021
Can't speak for the others, but the |
It looks to me that all the return type checks should not be performed if method body is not defined or the method throws any unconditional exception. |
Pierre-Sassoulas
added
Good first issue
Friendly and approachable by new contributors
False Positive 🦟
A message is emitted but nothing is wrong with the code
Help wanted 🙏
Outside help would be appreciated, good for new contributors
labels
Jul 22, 2021
Is this related to microsoft/vscode-python#16807, or should I open a new issue here for that problem? |
@ntjess it look like it's related. |
DanielNoord
added a commit
to DanielNoord/pylint
that referenced
this issue
Oct 3, 2021
4 tasks
cdce8p
pushed a commit
that referenced
this issue
Oct 6, 2021
Thanks @DanielNoord @cdce8p !! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Good first issue
Friendly and approachable by new contributors
Hacktoberfest
Help wanted 🙏
Outside help would be appreciated, good for new contributors
The following file
A.pyi
:produces the following output:
These looks like false positives to me.
The text was updated successfully, but these errors were encountered: