Skip to content

Commit

Permalink
feat: Add deptry tool (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 29, 2023
1 parent 288fd50 commit c24c4b6
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 @@ -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",
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 @@ -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]
Expand Down Expand Up @@ -144,6 +146,9 @@ def test_tools_ordering(fmt: Fmt) -> None:
[tool.check-wheel-contents]
[tool.deptry]
a = 0
[tool.pytest]
a = 0
Expand Down

0 comments on commit c24c4b6

Please sign in to comment.