[elbe-devel] [PATCH 5/7] pep8: fix E402 module level import not at top of file

Manuel Traut manut at linutronix.de
Wed Dec 20 22:11:45 CET 2017


annotate the coding style errors with # noqa because this is a
auto-generated file

new pycodestyle statistic:

    98      E501 line too long (82 > 79 characters)
    7       E741 ambiguous variable name 'l'

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 44ebab18..469927c4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -56,9 +56,9 @@ author = u'Torben Hohn, Manuel Traut'
 # built documents.
 #
 # The short X.Y version.
-from elbepack.version import elbe_version as version
+from elbepack.version import elbe_version as version  # noqa
 # The full version, including alpha/beta/rc tags.
-from elbepack.version import elbe_version as release
+from elbepack.version import elbe_version as release  # noqa
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
-- 
2.15.1




More information about the elbe-devel mailing list