summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndrzej Klajnert <github@aklajnert.pl>2019-06-26 17:36:28 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2019-07-05 17:21:08 +0300
commit0eeb67749b6aa016db61d87e55a1f7a7e459b352 (patch)
tree82089409ab30938c9be21742bedadcfe20b6f8a8 /examples
parent298a22d96ca512ab3910303ae8f2913e608d0a64 (diff)
downloadpylint-git-0eeb67749b6aa016db61d87e55a1f7a7e459b352.tar.gz
Fix - add `__post_init__` into `defining-attr-methods` to avoid `attribute-defined-outside-init` in dataclasses.
Diffstat (limited to 'examples')
-rw-r--r--examples/pylintrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/pylintrc b/examples/pylintrc
index c2a1558ce..2e35e3b89 100644
--- a/examples/pylintrc
+++ b/examples/pylintrc
@@ -460,7 +460,8 @@ redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
# List of method names used to declare (i.e. assign) instance attributes.
defining-attr-methods=__init__,
__new__,
- setUp
+ setUp,
+ __post_init__
# List of member names, which should be excluded from the protected access
# warning.