Skip to content

Commit 2509fc7

Browse files
authored
pre-commit: Discover typos with codespell
Related to: * #168
1 parent d66d34e commit 2509fc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ repos:
1010
rev: 24.3.0
1111
hooks:
1212
- id: black
13+
- repo: https://github.com/codespell-project/codespell
14+
rev: v2.2.6
15+
hooks:
16+
- id: codespell
17+
additional_dependencies:
18+
- tomli
19+
args: [--ignore-words-list, astroid ]
1320
- repo: https://github.com/pre-commit/pre-commit-hooks
1421
rev: v4.5.0
1522
hooks:

0 commit comments

Comments
 (0)