Skip to content

Commit 4149205

Browse files
committed
Fix lint issue in pyproject.toml
1 parent 4a55695 commit 4149205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ datacustomcode = "datacustomcode.cli:cli"
133133

134134
[tool.poetry-dynamic-versioning]
135135
enable = true
136+
format-jinja = "{% if distance == 0 %}{{ base }}{{ stage or '' }}{% else %}{{ bump_version(base) }}.dev{{ distance }}+{{ commit }}{% endif %}"
136137
pattern = "^v(?P<base>\\d+\\.\\d+\\.\\d+)(?P<stage>\\.dev\\d+|a\\d+|b\\d+|rc\\d+)?$"
137138
style = "pep440"
138139
vcs = "git"
139-
format-jinja = "{% if distance == 0 %}{{ base }}{{ stage or '' }}{% else %}{{ bump_version(base) }}.dev{{ distance }}+{{ commit }}{% endif %}"
140140

141141
[tool.pytest.ini_options]
142142
addopts = "--cov=src/datacustomcode --cov-report=term-missing"

0 commit comments

Comments
 (0)