Add pre-commit definition for codespell

This commit is contained in:
Yaroslav Halchenko
2025-04-02 10:00:31 -04:00
parent 54e3e382ef
commit b6a7ee068b

View File

@@ -27,3 +27,11 @@ repos:
language: system
types: [python]
exclude: ^docs/cookbooks/ # Ignore files under docs/cookbooks
- repo: https://github.com/codespell-project/codespell
# Configuration for codespell is in pyproject.toml
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli # for python_version < '3.11'