From 084f16a6c2ecb739d313cade13d6d81e1ca5073a Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 5 Nov 2024 20:13:19 +0000 Subject: [PATCH] Do not run doccmd against Python or toml files --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e8d2231..6beff9d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -95,7 +95,7 @@ repos: stages: [pre-push] entry: uv run --extra=dev doccmd --language=python --command="mypy" language: python - types_or: [markdown, rst, python, toml] + types_or: [markdown, rst] - id: check-manifest name: check-manifest @@ -119,7 +119,7 @@ repos: stages: [pre-push] entry: uv run --extra=dev doccmd --language=python --command="pyright" language: python - types_or: [markdown, rst, python, toml] + types_or: [markdown, rst] - id: vulture name: vulture