From ed43df201addf46b65151c55763c1e25ab865f00 Mon Sep 17 00:00:00 2001 From: clavedeluna Date: Tue, 18 Oct 2022 09:43:27 -0300 Subject: [PATCH] detect __post_init__ name --- pylint/checkers/dunder_methods.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylint/checkers/dunder_methods.py b/pylint/checkers/dunder_methods.py index 17e1b23bdd0..6aba1c1ba92 100644 --- a/pylint/checkers/dunder_methods.py +++ b/pylint/checkers/dunder_methods.py @@ -134,6 +134,7 @@ "__setstate__", "__reduce__", "__reduce_ex__", + "__post_init__", # part of dataclasses module ] DUNDER_PROPERTIES: list = [