Skip to content

Commit

Permalink
detect __post_init__ name
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed Oct 18, 2022
1 parent 6a3011e commit ed43df2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pylint/checkers/dunder_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"__setstate__",
"__reduce__",
"__reduce_ex__",
"__post_init__", # part of dataclasses module
]

DUNDER_PROPERTIES: list = [
Expand Down

0 comments on commit ed43df2

Please sign in to comment.