diff options
author | Mike Fiedler <miketheman@gmail.com> | 2021-10-26 03:07:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 09:07:55 +0200 |
commit | 448485a98b66a40fae6db6dbb4f25f4516e5e539 (patch) | |
tree | 108bef8231bac4745076cc062829c832274e0f98 /pylintrc | |
parent | 17d69269580161456c12c1112b7129f4a5cbb807 (diff) | |
download | pylint-git-448485a98b66a40fae6db6dbb4f25f4516e5e539.tar.gz |
Add configuration option ``exclude-too-few-public-methods`` (#5191)
Allow excluding classes based on their ancestors from the ``too-few-public-methods`` checker.
Closes #3370
Signed-off-by: Mike Fiedler <miketheman@gmail.com>
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -350,6 +350,9 @@ min-public-methods=2 # Maximum number of public methods for a class (see R0904). max-public-methods=25 +# List of regular expressions of class ancestor names to +# ignore when counting public methods (see R0903). +exclude-too-few-public-methods= [CLASSES] |