[elbe-devel] [PATCH 01/40] pylintrc: update parameters

Manuel Traut manut at linutronix.de
Fri Sep 14 13:56:13 CEST 2018


 - hide annotated errors/warnings
 - disable to few public methods warning
     it makes no sense for base classes and i think it's no big problem at
     all if a class doesn't provide public methods

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 .pylintrc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.pylintrc b/.pylintrc
index 705ab2e0..8d82d62c 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -39,7 +39,8 @@ load-plugins=
 # can either give multiple identifier separated by comma (,) or put this option
 # multiple time (only on the command line, not in the configuration file where
 # it should appear only once).
-disable=bad-whitespace,missing-docstring,bad-continuation,invalid-name,line-too-long
+disable=bad-whitespace,missing-docstring,bad-continuation,invalid-name,line-too-long,I0011,too-few-public-methods
+
 
 
 [REPORTS]
@@ -114,7 +115,9 @@ zope=no
 # List of members which are set dynamically and missed by pylint inference
 # system, and so shouldn't trigger E0201 when accessed. Python regular
 # expressions are accepted.
-generated-members=REQUEST,acl_users,aq_parent
+generated-members=REQUEST,acl_users,aq_parent,gpgme.SIGSUM_*,gpgme.SIG_MODE_NORMAL
+
+extension-pkg-whitelist=apt_pkg,gpgme,lxml.etree,_ped
 
 
 [BASIC]
-- 
2.19.0.rc2




More information about the elbe-devel mailing list