Skip to content

Commit 9e33ebd

Browse files
committed
feat: add pyproject-fmt
1 parent cf70462 commit 9e33ebd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,18 +151,21 @@ dependencies = [
151151
"mypy-extensions==1.0.0",
152152
"ruff==0.4.8",
153153
"isort==5.13.2",
154+
"pyproject-fmt==2.2.1",
154155
]
155156
[tool.hatch.envs.linting.scripts]
156157
typing = "mypy --config-file=pyproject.toml {args:} ./src/ ./tests/ ./examples/"
157158
style = [
158159
"ruff check {args:.} ./src/ ./tests/ ./examples/",
159160
"black --check --diff {args:} ./src/ ./tests/ ./examples/",
160161
"isort --check-only --profile black {args:} ./src/ ./tests/ ./examples/",
162+
"pyproject-fmt --check pyproject.toml",
161163
]
162164
fmt = [
163165
"black {args:} ./src/ ./tests/ ./examples/",
164166
"ruff check --fix {args:.} ./src/ ./tests/ ./examples/",
165167
"isort --profile black {args:} ./src/ ./tests/ ./examples/",
168+
"pyproject-fmt pyproject.toml",
166169
"style",
167170
]
168171
all = [

0 commit comments

Comments
 (0)