cookiecutter-flit

A Cookiecutter template for a Flit package
git clone git://git.danielmoch.com/cookiecutter-flit.git
Log | Files | Refs | LICENSE

commit e74e0d210619a69b5158c2769fd0c0e4a9641c53
parent d925a67484e29e09d84e4353664bf5acab370d31
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon,  3 Sep 2018 22:02:41 -0400

Remove trailing whitespaces

Diffstat:
M{{cookiecutter.project_slug}}/LICENSE | 4++--
M{{cookiecutter.project_slug}}/pyproject.toml | 6+++---
M{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py | 2+-
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/{{cookiecutter.project_slug}}/LICENSE b/{{cookiecutter.project_slug}}/LICENSE @@ -20,7 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -{% elif cookiecutter.open_source_license == 'BSD license' %} +{% elif cookiecutter.open_source_license == 'BSD license' -%} BSD License @@ -108,4 +108,4 @@ may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>. -{% endif %} +{% endif -%} diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml @@ -10,7 +10,7 @@ home-page = "{{ cookiecutter.project_homepage }}" description-file = "README.md" {% if cookiecutter.open_source_license == 'MIT license' -%} classifiers = ["License :: OSI Approved :: MIT License"] -{% elif cookiecutter.open_source_license == 'BSD license' %} +{% elif cookiecutter.open_source_license == 'BSD license' -%} classifiers = ["License :: OSI Approved :: BSD License"] {% elif cookiecutter.open_source_license == 'ISC license' -%} classifiers = ["License :: OSI Approved :: ISC License (ISCL)"] @@ -18,9 +18,9 @@ classifiers = ["License :: OSI Approved :: ISC License (ISCL)"] classifiers = ["License :: OSI Approved :: Apache Software License"] {% elif cookiecutter.open_source_license == 'GNU General Public License v3' -%} classifiers = ["License :: OSI Approved :: GNU General Public License v3 (GPLv3)"] -{% endif %} +{% endif -%} {% if cookiecutter.script_entrypoint == 'y' -%} [tool.flit.scripts] {{ cookiecutter.project_slug }} = "{{cookiecutter.project_slug}}:main" -{% endif %} +{% endif -%} diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py @@ -17,4 +17,4 @@ def main(): parser.add_argument( '-v', action='version', version='%(prog)s {}'.format(__version__)) -{% endif %} +{% endif -%}