Skip to content

Commit c730f6a

Browse files
committed
format keywords in pyproject.toml
1 parent 4893eca commit c730f6a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

template/pyproject.toml.jinja

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ classifiers = [
3131
dependencies = []
3232
description = "{{ package_short_description|replace('\"', '\\\"') }}"
3333
keywords = [
34-
"{{ keyword1 }}",
35-
"{{ keyword2 }}",
34+
{%- for item in keywords.split(',') -%}
35+
"{{ item }}"{{ "," if not loop.last }}
36+
{%- endfor -%}
3637
]
3738
license = {file = "LICENSE"}
3839
name = "{{ package_name }}"

0 commit comments

Comments
 (0)