summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/pylintrc b/pylintrc
index b4a4e9fac..e5cbc1220 100644
--- a/pylintrc
+++ b/pylintrc
@@ -270,10 +270,13 @@ property-classes=abc.abstractproperty
[TYPECHECK]
-# Tells whether missing members accessed in mixin class should be ignored. A
-# mixin class is detected if its name ends with "mixin" (case insensitive).
+# Tells whether missing members accessed in mixin class should be ignored.
+# A class is considered mixin if its name matches the mixin-class-rgx option.
ignore-mixin-members=yes
+# Regex pattern to define which classes are considered mixins.
+mixin-class-rgx=.*MixIn
+
# List of module names for which member attributes should not be checked
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis)