[elbe-devel] [PATCH 31/40] pylint: docs/conf.py - replace noqa annotates
Manuel Traut
manut at linutronix.de
Fri Sep 14 13:56:43 CEST 2018
replace noqa with proper pylint annotations
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.19.0.rc2
More information about the elbe-devel
mailing list