False positive on arguments of constructor created by "attrs" #3492
Labels
Bug 🪲
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs astroid Brain 🧠
Needs a brain tip in astroid (then an astroid upgrade)
Steps to reproduce
Current behavior
PyLint reports about the last line:
Expected behavior
No error should be printed, as the generated constructor takes two arguments (
self
andvalue
).pylint --version output
Maybe related
Other issues about support for the
attrs
library are #1698 and #2983. Superficially this issue doesn't seem to be the same thing, but perhaps there is overlap when digging deeper.The text was updated successfully, but these errors were encountered: