From cb6425678b3a0c538b92307f1d61177d8c5b79d2 Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Tue, 21 Jan 2025 12:09:34 +0000 Subject: [PATCH] Yet another blank lines fix in pyproject.toml --- _shared/project/pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_shared/project/pyproject.toml b/_shared/project/pyproject.toml index 40674ff..124d0c9 100644 --- a/_shared/project/pyproject.toml +++ b/_shared/project/pyproject.toml @@ -28,12 +28,11 @@ dependencies = [ Repository = "{{ cookiecutter.__github_url }}" Issues = "{{ cookiecutter.__github_url }}/issues" Changelog = "{{ cookiecutter.__github_url }}/releases" -{% if include_exists("pyproject.toml/scripts") %} +{% if include_exists("pyproject.toml/scripts") %} [project.scripts] {{ include("pyproject.toml/scripts") -}} {% elif cookiecutter.get("console_script") == "yes" %} - [project.scripts] {{ cookiecutter.__entry_point }} = "{{ cookiecutter.package_name }}.cli:cli" @@ -42,7 +41,6 @@ Changelog = "{{ cookiecutter.__github_url }}/releases" {% endif %} {% if include_exists("pyproject.toml/tail") %} - {{ include("pyproject.toml/tail") }} {% endif %} [tool.pytest.ini_options]