From: Oleg Broytman Date: Sat, 23 Jul 2016 00:10:53 +0000 (+0300) Subject: Fix flake8 warning X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dae4deea2149aaf37ff6a45feb79e6ec6b294f71;p=cookiecutter.git Fix flake8 warning Fix E402 module level import not at top of file. --- 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__,