-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
False Positive 🦟A message is emitted but nothing is wrong with the codeA message is emitted but nothing is wrong with the codedataclassespython 3.10
Milestone
Description
Bug description
from dataclasses import dataclass, KW_ONLY
@dataclass
class C:
_: KW_ONLY
c: int
c = C(c=1) # No value for argument '_' in constructor call (no-value-for-parameter)Pylint version
pylint 2.12.2
astroid 2.9.3
Python 3.10.0 (default, Nov 6 2021, 07:41:13) [Clang 12.0.5 (clang-1205.0.22.9)]lgelmi, macintacos, Infernio, benji-york and michael-k
Metadata
Metadata
Assignees
Labels
False Positive 🦟A message is emitted but nothing is wrong with the codeA message is emitted but nothing is wrong with the codedataclassespython 3.10