use codespell as pre-commit
This commit is contained in:
@@ -11,14 +11,13 @@ repos:
|
|||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: forbid-submodules
|
- id: forbid-submodules
|
||||||
|
|
||||||
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
rev: v2.2.4
|
||||||
|
hooks:
|
||||||
|
- id: codespell
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
#- id: codespell
|
|
||||||
# name: codespell
|
|
||||||
# entry: codespell
|
|
||||||
# types_or: [c, header]
|
|
||||||
# language: system
|
|
||||||
|
|
||||||
- id: unit-test
|
- id: unit-test
|
||||||
name: unit-test
|
name: unit-test
|
||||||
files: ^(src/|test/unit-test/)
|
files: ^(src/|test/unit-test/)
|
||||||
|
Reference in New Issue
Block a user