-
-
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
False positives with dataclasses #5857
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Comments
bretttully
added
the
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
label
Mar 3, 2022
Pierre-Sassoulas
added
False Positive 🦟
A message is emitted but nothing is wrong with the code
and removed
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
labels
Mar 3, 2022
Closing as it's been fixed at some point before 2.15.0-dev0 or I can't reproduce. |
My bad it still reproduce. |
2 tasks
Fixed in pylint-dev/astroid#1764 😄 |
3 tasks
A false-positive is happening when class is being decorated with a decorator like this:
Though I'm not sure if such cases can even be handled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
No warnings produced
Pylint version
OS / Environment
Ubuntu 20.04, clean conda env
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: