Skip to content

Commit

Permalink
feat: Add poetry-dynamic-versioning build backend (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Dec 2, 2023
1 parent c24c4b6 commit 15ce99b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pyproject_fmt/formatter/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def fmt_tools(parsed: TOMLDocument, conf: Config) -> None: # noqa: ARG001
order = [
# Build backends
"poetry",
"poetry-dynamic-versioning",
"pdm",
"setuptools",
"distutils",
Expand Down
5 changes: 5 additions & 0 deletions tests/formatter/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def test_tools_ordering(fmt: Fmt) -> None:
a = 0
[tool.cibuildwheel]
a = 0
[tool.poetry-dynamic-versioning]
a = 0
[tool.pylint]
[tool.repo-review]
a = 0
Expand Down Expand Up @@ -78,6 +80,9 @@ def test_tools_ordering(fmt: Fmt) -> None:
name = "a"
[tool.poetry.scripts]
version = "1"
[tool.poetry-dynamic-versioning]
a = 0
[tool.pdm]
[tool.setuptools]
Expand Down

0 comments on commit 15ce99b

Please sign in to comment.