From dae4deea2149aaf37ff6a45feb79e6ec6b294f71 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 23 Jul 2016 03:10:53 +0300 Subject: [PATCH] Fix flake8 warning Fix E402 module level import not at top of file. --- project_template/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project_template/setup.py b/project_template/setup.py index ba44c74..3b4e7b0 100755 --- a/project_template/setup.py +++ b/project_template/setup.py @@ -17,7 +17,8 @@ except ImportError: versionpath = join(abspath(dirname(__file__)), 'project', '__version__.py') load_source('project_version', versionpath) -from project_version import __version__ +# Ignore: E402 module level import not at top of file +from project_version import __version__ # noqa setup(name='Template project', version=__version__, -- 2.39.5