Skip to content

Commit 05a4cf0

Browse files
committed
ci(pre-commit): add codespell hook
1 parent 1a69165 commit 05a4cf0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ repos:
3434
- id: blacken-docs
3535
additional_dependencies: [black==22.10]
3636

37+
- repo: https://github.com/codespell-project/codespell
38+
rev: v2.2.4
39+
hooks:
40+
- id: codespell
41+
name: Run codespell to check for common misspellings in files
42+
language: python
43+
types: [text]
44+
args: ["--write-changes", "--ignore-words-list", "asend"]
45+
3746
- repo: https://github.com/commitizen-tools/commitizen
3847
rev: v3.2.2 # automatically updated by Commitizen
3948
hooks:

0 commit comments

Comments
 (0)