Skip to content

Commit e983194

Browse files
committed
Add --no-write-to-file flag for read-only doccmd commands
1 parent ade0a28 commit e983194

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ repos:
117117

118118
- id: shellcheck-docs
119119
name: shellcheck-docs
120-
entry: uv run --extra=dev doccmd --language=shell --language=console --command="shellcheck
121-
--shell=bash"
120+
entry: uv run --extra=dev doccmd --no-write-to-file --language=shell --language=console
121+
--command="shellcheck --shell=bash"
122122
language: python
123123
types_or: [markdown, rst]
124124
additional_dependencies: [uv==0.9.5]
@@ -153,7 +153,7 @@ repos:
153153
- id: mypy-docs
154154
name: mypy-docs
155155
stages: [pre-push]
156-
entry: uv run --extra=dev doccmd --language=python --command="mypy"
156+
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="mypy"
157157
language: python
158158
types_or: [markdown, rst]
159159
additional_dependencies: [uv==0.9.5]
@@ -178,7 +178,7 @@ repos:
178178
- id: pyright-docs
179179
name: pyright-docs
180180
stages: [pre-push]
181-
entry: uv run --extra=dev doccmd --language=python --command="pyright"
181+
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="pyright"
182182
language: python
183183
types_or: [markdown, rst]
184184
additional_dependencies: [uv==0.9.5]
@@ -194,7 +194,7 @@ repos:
194194

195195
- id: vulture-docs
196196
name: vulture docs
197-
entry: uv run --extra=dev doccmd --language=python --command="vulture"
197+
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="vulture"
198198
language: python
199199
types_or: [markdown, rst]
200200
additional_dependencies: [uv==0.9.5]
@@ -227,7 +227,7 @@ repos:
227227

228228
- id: pylint-docs
229229
name: pylint-docs
230-
entry: uv run --extra=dev doccmd --language=python --command="pylint"
230+
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="pylint"
231231
language: python
232232
stages: [manual]
233233
types_or: [markdown, rst]
@@ -284,7 +284,7 @@ repos:
284284

285285
- id: interrogate-docs
286286
name: interrogate docs
287-
entry: uv run --extra=dev doccmd --language=python --command="interrogate"
287+
entry: uv run --extra=dev doccmd --no-write-to-file --language=python --command="interrogate"
288288
language: python
289289
types_or: [markdown, rst]
290290
additional_dependencies: [uv==0.9.5]

0 commit comments

Comments
 (0)