top: Add pre-commit hook for codespell.

Signed-off-by: Jos Verlinde <jos_verlinde@hotmail.com>
This commit is contained in:
Jos Verlinde 2023-08-03 22:20:51 +02:00 committed by Damien George
parent 982ffdee7e
commit a166d805f4

View File

@ -16,3 +16,10 @@ repos:
hooks: hooks:
- id: ruff - id: ruff
- id: ruff-format - id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
name: Spellcheck for changed files (codespell)
additional_dependencies:
- tomli