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

Torben Hohn torben.hohn at linutronix.de
Wed Jun 10 13:29:50 CEST 2020


On Fri, Jun 05, 2020 at 01:06:27PM -0400, Olivier Dion wrote:
> 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

why did you remove TERMIOS ?

keep TERMIOS and

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

>  
>  # Create a graph of every (i.e. internal and external) dependencies in the
>  # given file (report RP0402 must not be disabled)
> -- 
> 2.27.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list