From 448485a98b66a40fae6db6dbb4f25f4516e5e539 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Tue, 26 Oct 2021 03:07:55 -0400 Subject: Add configuration option ``exclude-too-few-public-methods`` (#5191) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow excluding classes based on their ancestors from the ``too-few-public-methods`` checker. Closes #3370 Signed-off-by: Mike Fiedler Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> --- pylintrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pylintrc') diff --git a/pylintrc b/pylintrc index 7669da6e8..8df15f713 100644 --- a/pylintrc +++ b/pylintrc @@ -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] -- cgit v1.2.1