diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-10-25 09:27:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 09:27:47 +0200 |
commit | 8cfce138e9519f63e969e89359e86e140b2f0f13 (patch) | |
tree | eff12c3d285d53b7a6e4cf387f265ca029c72b51 /pylintrc | |
parent | ed3449fee063d91f050c6b733030d3b3d7ad719f (diff) | |
download | pylint-git-8cfce138e9519f63e969e89359e86e140b2f0f13.tar.gz |
Add ``mixin-class-rgx`` option (#5203)
Co-authored-by: Alpha <alpha@pokesplash.net>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |