Browse Source

Add pre-commit definition for codespell

Yaroslav Halchenko 1 year ago
parent
commit
f1130e1359
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .pre-commit-config.yaml

+ 5 - 0
.pre-commit-config.yaml

@@ -53,3 +53,8 @@ repos:
     hooks:
     -   id: flake8
         additional_dependencies: [flake8-typing-imports==1.10.0]
+-   repo: https://github.com/codespell-project/codespell
+    rev: v2.2.6
+    hooks:
+    -   id: codespell
+        additional_dependencies: [tomli]