Skip to content

Commit 09562bb

Browse files
authored
added codespell to pre-commit
1 parent 7a52b52 commit 09562bb

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,19 @@ repos:
8181
test/utils.py|
8282
)$
8383
84-
84+
- repo: https://github.com/codespell-project/codespell
85+
rev: v1.16.0
86+
hooks:
87+
- id: codespell
88+
name: codespell
89+
description: Checks for common misspellings in text files.
90+
args:
91+
[
92+
"-I",
93+
".github/actions/spelling/allow.txt",
94+
".github/actions/spelling/only.txt",
95+
".github/actions/spelling/expect.txt",
96+
".github/actions/spelling/excludes.txt",
97+
]
98+
language: python
99+
types: [text]

0 commit comments

Comments
 (0)