ionelmc / cookiecutter-pylibrary

Enhanced cookiecutter template for Python libraries.
BSD 2-Clause "Simplified" License
1.25k stars 207 forks source link

Make isort pass if cookiecutter.setup_py_uses_setuptools_scm is no #205

Closed dHannasch closed 4 years ago

dHannasch commented 4 years ago

Shift deletion of whitespace so that isort does not complain if cookiecutter.setup_py_uses_setuptools_scm is no and thus import trackback is left out of conf.py.

This PR works (see https://gitlab.com/dHannasch/python-nameless/-/pipelines), though of course the Travis builds are still failing for unrelated reasons.