Skip to content

Commit 0c35956

Browse files
authored
ci: Move codespell to pre-commit (#2040)
* ci: Move codespell to pre-commit * Intentionally introduce typos * Fix intentionally introduced typos
1 parent 9d4f6e1 commit 0c35956

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

.github/workflows/codespell.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,11 @@ repos:
2424
- id: trailing-whitespace
2525
- id: check-toml
2626
- id: check-yaml
27+
- repo: https://github.com/codespell-project/codespell
28+
rev: v2.2.6
29+
hooks:
30+
- id: codespell
31+
args: [
32+
"--ignore-words",
33+
".codespellignore",
34+
]

0 commit comments

Comments
 (0)