From 709f83f6a32da8cdaec196d7b785ab6827322008 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 5 Nov 2025 18:13:26 +0100 Subject: [PATCH] pre-commit: Add codespell --- .pre-commit-config.yaml | 6 ++++++ pyproject.toml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8549b016..63b3d53a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,6 +8,12 @@ repos: rev: 8afdb18d56d3bd3edea0c4ddde96965d6894f5f3 # frozen: 0.9.26 hooks: - id: uv-lock + - repo: https://github.com/codespell-project/codespell + rev: 63c8f8312b7559622c0d82815639671ae42132ac # frozen v2.4.1 + hooks: + - id: codespell + additional_dependencies: + - tomli - repo: https://github.com/pre-commit/pre-commit-hooks rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 660239f9..20424de4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,6 +166,9 @@ select = [ force-single-line = true order-by-type = false +[tool.codespell] +ignore-words-list = "te" + [tool.tox] env_list = [ "py3.14", "py3.14t",