forked from espressif/esp-idf
feat(pre-commit): add codespell to detect and fix typos
This commit is contained in:
4
.codespellrc
Normal file
4
.codespellrc
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[codespell]
|
||||||
|
skip = build,*.yuv
|
||||||
|
ignore-words-list = ser,dout,rsource
|
||||||
|
write-changes = true
|
@@ -51,6 +51,10 @@ repos:
|
|||||||
(?x)^(
|
(?x)^(
|
||||||
.*_pb2.py
|
.*_pb2.py
|
||||||
)$
|
)$
|
||||||
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
rev: v2.2.6
|
||||||
|
hooks:
|
||||||
|
- id: codespell
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-executables
|
- id: check-executables
|
||||||
|
Reference in New Issue
Block a user