Skip to content

Commit

Permalink
Yet another blank lines fix in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Jan 21, 2025
1 parent 74d4895 commit cb64256
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _shared/project/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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]
Expand Down

0 comments on commit cb64256

Please sign in to comment.