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

Manuel Traut manut at linutronix.de
Wed Aug 29 21:02:35 CEST 2018


replace noqa with proper pylint annotates

Signed-off-by: Manuel Traut <manut 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.18.0




More information about the elbe-devel mailing list