Skip to content

Commit 695aef9

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent cff7028 commit 695aef9

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ repos:
133133
- id: shellcheck-docs
134134
name: shellcheck-docs
135135
# We exclude SC2215 as it is a false positive for an unknown reason on Windows.
136-
entry:
137-
uv run --extra=dev doccmd --language=shell --language=console --command="shellcheck
136+
entry: uv run --extra=dev doccmd --language=shell --language=console --command="shellcheck
138137
--shell=bash --exclude=SC2215"
139138
language: python
140139
types_or: [markdown, rst]
@@ -151,8 +150,7 @@ repos:
151150

152151
- id: shfmt-docs
153152
name: shfmt-docs
154-
entry:
155-
uv run --extra=dev doccmd --language=shell --language=console --skip-marker=shfmt
153+
entry: uv run --extra=dev doccmd --language=shell --language=console --skip-marker=shfmt
156154
--no-pad-file --command="shfmt --write --space-redirects --indent=4"
157155
language: python
158156
types_or: [markdown, rst]
@@ -284,8 +282,7 @@ repos:
284282

285283
- id: ruff-format-fix-docs
286284
name: Ruff format docs
287-
entry:
288-
uv run --extra=dev doccmd --language=python --no-pad-file --command="ruff
285+
entry: uv run --extra=dev doccmd --language=python --no-pad-file --command="ruff
289286
format"
290287
language: python
291288
types_or: [markdown, rst]
@@ -326,7 +323,8 @@ repos:
326323
stages: [pre-commit]
327324
- id: linkcheck
328325
name: linkcheck
329-
entry: uv run --extra=dev sphinx-build -M linkcheck docs/source docs/build -W
326+
entry: uv run --extra=dev sphinx-build -M linkcheck docs/source docs/build
327+
-W
330328
language: python
331329
types_or: [rst]
332330
stages: [manual]
@@ -335,7 +333,8 @@ repos:
335333

336334
- id: spelling
337335
name: spelling
338-
entry: uv run --extra=dev sphinx-build -M spelling docs/source docs/build -W
336+
entry: uv run --extra=dev sphinx-build -M spelling docs/source docs/build
337+
-W
339338
language: python
340339
types_or: [rst]
341340
stages: [manual]

0 commit comments

Comments
 (0)