Skip to content

Commit 77f7c3d

Browse files
committed
Add pre-commit definition for codespell
1 parent aa2a036 commit 77f7c3d

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
@@ -69,6 +69,15 @@ repos:
6969
hooks:
7070
- id: flake8
7171

72+
# Lint: Typos
73+
- repo: https://github.com/codespell-project/codespell
74+
# Configuration for codespell is in pyproject.toml
75+
rev: v2.2.6
76+
hooks:
77+
- id: codespell
78+
additional_dependencies:
79+
- tomli
80+
7281
# pre-commit.ci config reference: https://pre-commit.ci/#configuration
7382
ci:
7483
autoupdate_schedule: monthly

0 commit comments

Comments
 (0)