diff --git a/src/pyproject_fmt/formatter/tools.py b/src/pyproject_fmt/formatter/tools.py index 61cedf8..4f2eba7 100644 --- a/src/pyproject_fmt/formatter/tools.py +++ b/src/pyproject_fmt/formatter/tools.py @@ -60,6 +60,7 @@ def fmt_tools(parsed: TOMLDocument, conf: Config) -> None: # noqa: ARG001 "check-manifest", "check-sdist", "check-wheel-contents", + "deptry", # Testing "pytest", "pytest_env", diff --git a/tests/formatter/test_tools.py b/tests/formatter/test_tools.py index e1c35ed..c784cc0 100644 --- a/tests/formatter/test_tools.py +++ b/tests/formatter/test_tools.py @@ -22,6 +22,8 @@ def test_tools_ordering(fmt: Fmt) -> None: a = 0 [tool.black] a = 0 + [tool.deptry] + a = 0 [tool.isort] a = 0 [tool.flake8] @@ -144,6 +146,9 @@ def test_tools_ordering(fmt: Fmt) -> None: [tool.check-wheel-contents] + [tool.deptry] + a = 0 + [tool.pytest] a = 0