readded jijnja again
This commit is contained in:
+7
-1
@@ -45,7 +45,13 @@ enable = true
|
|||||||
vcs = "git"
|
vcs = "git"
|
||||||
strict = true
|
strict = true
|
||||||
format-jinja = """
|
format-jinja = """
|
||||||
TEST_{{- branch -}}_TEST
|
{%- if distance == 0 -%}
|
||||||
|
{{ serialize_pep440(base, stage, revision) }}
|
||||||
|
{%- elif revision is not none -%}
|
||||||
|
{{ serialize_pep440(base, stage, revision + 1, dev=distance, metadata=[commit]) }}
|
||||||
|
{%- else -%}
|
||||||
|
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance, metadata=[commit]) }}
|
||||||
|
{%- endif -%}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[tool.poetry.group.docs.dependencies]
|
[tool.poetry.group.docs.dependencies]
|
||||||
|
|||||||
Reference in New Issue
Block a user