Skip to content

Commit 1f08567

Browse files
committed
feat: add pyproject-fmt
1 parent 2790df9 commit 1f08567

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -153,18 +153,21 @@ dependencies = [
153153
"mypy-extensions==1.0.0",
154154
"ruff==0.4.8",
155155
"isort==5.13.2",
156+
"pyproject-fmt==2.2.1",
156157
]
157158
[tool.hatch.envs.linting.scripts]
158159
typing = "mypy --config-file=pyproject.toml {args:} ./src/ ./tests/ ./examples/"
159160
style = [
160161
"ruff check {args:.} ./src/ ./tests/ ./examples/",
161162
"black --check --diff {args:} ./src/ ./tests/ ./examples/",
162163
"isort --check-only --profile black {args:} ./src/ ./tests/ ./examples/",
164+
"pyproject-fmt --check pyproject.toml",
163165
]
164166
fmt = [
165167
"black {args:} ./src/ ./tests/ ./examples/",
166168
"ruff check --fix {args:.} ./src/ ./tests/ ./examples/",
167169
"isort --profile black {args:} ./src/ ./tests/ ./examples/",
170+
"pyproject-fmt pyproject.toml",
168171
"style",
169172
]
170173
all = [

0 commit comments

Comments
 (0)