[elbe-devel] [PATCH v2 03/66] .pylintrc: Add disabling option and pkg whitelist

Olivier Dion dion at linutronix.de
Fri Jun 5 19:06:27 CEST 2020


Add to whitelist some C packages and remove string as a deprecated
module.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 .pylintrc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.pylintrc b/.pylintrc
index d3c9cb18..34fefa8f 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -27,6 +27,8 @@ persistent=yes
 # usually to register additional checkers.
 load-plugins=
 
+extension-pkg-whitelist=apt_pkg,gpg.constants,lxml,_ped
+
 
 [MESSAGES CONTROL]
 
@@ -226,7 +228,7 @@ valid-classmethod-first-arg=cls
 [IMPORTS]
 
 # Deprecated modules which should not be used, separated by a comma
-deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
+deprecated-modules=regsub,Bastion,rexec
 
 # Create a graph of every (i.e. internal and external) dependencies in the
 # given file (report RP0402 must not be disabled)
-- 
2.27.0




More information about the elbe-devel mailing list