Skip to content

Commit 989cac4

Browse files
committed
fix toml error
1 parent 60effca commit 989cac4

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

template/pyproject.toml.jinja

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ name = "{{ package_name }}"
33
version = "0.1.0"
44
description = "{{ description }}"
55
{%- if author_name or author_email %}
6-
authors = [{
7-
{%- if author_name %} name = "{{ author_name }}"{% endif %}
8-
{%- if author_name and author_email %}, {% endif %}
9-
{%- if author_email %} email = "{{ author_email }}"{% endif %}
10-
}]
6+
authors = [{{ "{" }}{%- if author_name -%}name = "{{ author_name }}"{%- endif -%}{%- if author_name and author_email -%}, {% endif -%}{%- if author_email -%}email = "{{ author_email }}"{%- endif -%}{{ "}" }}]
117
{%- endif %}
128
{%- if copyright_license != "None" %}
139
license = { file = "LICENSE" }

0 commit comments

Comments
 (0)