add codespell to pre-commit hook

This commit is contained in:
Xintao
2021-09-27 15:35:37 +08:00
parent 14247a89d9
commit 772923e207
2 changed files with 11 additions and 0 deletions

View File

@@ -24,6 +24,12 @@ repos:
hooks:
- id: yapf
# codespell
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
# pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0