Skip to content

Commit

Permalink
feat(esp-usb): Added pre-commit codespell hook and ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-jam committed Feb 1, 2024
1 parent 4080109 commit 23936f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ repos:
- id: astyle_py
args: ['--style=otbs', '--attach-namespaces', '--attach-classes', '--indent=spaces=4', '--convert-tabs', '--align-pointer=name', '--align-reference=name', '--keep-one-line-statements', '--pad-header', '--pad-oper']

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
types_or: [c, c++]
args: [-w, "--ignore-words=codespell-ignore-list"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
Expand Down
2 changes: 2 additions & 0 deletions codespell-ignore-list
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
inout
wheight

0 comments on commit 23936f1

Please sign in to comment.