Skip to content

Commit ac0fec8

Browse files
Merge pull request #2360 from VWS-Python/vulture-docs
Use vulture on docs
2 parents 6a3804a + e36d374 commit ac0fec8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ci:
2929
- ruff-format-fix-docs
3030
- spelling
3131
- vulture
32+
- vulture-docs
3233

3334
default_install_hook_types: [pre-commit, pre-push, commit-msg]
3435
repos:
@@ -106,6 +107,12 @@ repos:
106107
types_or: [python]
107108
pass_filenames: false
108109

110+
- id: vulture-docs
111+
name: vulture docs
112+
entry: doccmd --language=python --command="vulture"
113+
language: system
114+
types_or: [markdown, rst]
115+
109116
- id: pyroma
110117
name: pyroma
111118
entry: python -m pyroma --min 10 .

0 commit comments

Comments
 (0)