[elbe-devel] [PATCH 31/40] pylint: docs/conf.py - replace noqa annotates

Torben Hohn torben.hohn at linutronix.de
Thu Sep 20 13:41:05 CEST 2018


On Fri, Sep 14, 2018 at 01:56:43PM +0200, Manuel Traut wrote:
> replace noqa with proper pylint annotations
> 
> Signed-off-by: Manuel Traut <manut at linutronix.de>

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

> ---
>  docs/conf.py | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/docs/conf.py b/docs/conf.py
> index 469927c4..2cd19607 100644
> --- a/docs/conf.py
> +++ b/docs/conf.py
> @@ -48,7 +48,7 @@ master_doc = 'index'
>  
>  # General information about the project.
>  project = u'ELBE'
> -copyright = u'2017, Linutronix GmbH'
> +copyright = u'2017, Linutronix GmbH'  #pylint: disable=redefined-builtin
>  author = u'Torben Hohn, Manuel Traut'
>  
>  # The version info for the project you're documenting, acts as replacement for
> @@ -56,9 +56,11 @@ author = u'Torben Hohn, Manuel Traut'
>  # built documents.
>  #
>  # The short X.Y version.
> -from elbepack.version import elbe_version as version  # noqa
> +#pylint: disable=unused-import,wrong-import-position
> +from elbepack.version import elbe_version as version
>  # The full version, including alpha/beta/rc tags.
> -from elbepack.version import elbe_version as release  # noqa
> +#pylint: disable=reimported,wrong-import-position
> +from elbepack.version import elbe_version as release
>  
>  # The language for content autogenerated by Sphinx. Refer to documentation
>  # for a list of supported languages.
> -- 
> 2.19.0.rc2
> 

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180920/30f4f1dc/attachment.sig>


More information about the elbe-devel mailing list