Skip to content

Commit 147537e

Browse files
Merge pull request #2427 from VWS-Python/doccmd-doc-types-2
Do not run doccmd against Python or toml files
2 parents ae56439 + f60132d commit 147537e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ repos:
111111
stages: [pre-push]
112112
entry: uv run --extra=dev doccmd --language=python --command="mypy"
113113
language: python
114-
types_or: [markdown, rst, python, toml]
114+
types_or: [markdown, rst]
115115

116116
- id: check-manifest
117117
name: check-manifest
@@ -135,7 +135,7 @@ repos:
135135
stages: [pre-push]
136136
entry: uv run --extra=dev doccmd --language=python --command="pyright"
137137
language: python
138-
types_or: [markdown, rst, python, toml]
138+
types_or: [markdown, rst]
139139

140140
- id: pyright-verifytypes
141141
name: pyright-verifytypes
@@ -190,7 +190,7 @@ repos:
190190
entry: uv run --extra=dev doccmd --language=python --command="pylint"
191191
language: python
192192
stages: [manual]
193-
types_or: [markdown, rst, python, toml]
193+
types_or: [markdown, rst]
194194

195195
- id: ruff-check-fix
196196
name: Ruff check fix

0 commit comments

Comments
 (0)