From 0ff249fb4eff04e6e8ed3a9aa87012ebbaeadf8f Mon Sep 17 00:00:00 2001 From: Lendemor Date: Thu, 19 Dec 2024 13:36:16 +0100 Subject: [PATCH] add config for codespell --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1acf9ecb8..9d18e4df1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,11 @@ repos: args: ["--fix", "--exit-non-zero-on-fix"] exclude: '^integration/benchmarks/' + - repo: https://github.com/codespell-project/codespell + rev: v2.2.4 + hooks: + - id: codespell + # Run pyi check before pyright because pyright can fail if pyi files are wrong. - repo: local hooks: