From bb75a8ba772785e38e5307a16efcdeeee7a42815 Mon Sep 17 00:00:00 2001 From: Jared Dillard Date: Sun, 10 Aug 2025 15:02:01 -0700 Subject: [PATCH] Add mypy to pre-commit --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c8a112..3035246 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,13 @@ repos: hooks: - id: flake8 + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.11.2 + hooks: + - id: mypy + files: ^sphinx_llms_txt/ + additional_dependencies: [types-docutils] + - repo: https://github.com/sphinx-contrib/sphinx-lint rev: v1.0.0 hooks: