Skip to content

Commit f14b4ba

Browse files
committed
use codespell as pre-commit
1 parent 0c174c1 commit f14b4ba

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

.pre-commit-config.yaml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,25 @@
33
# SPDX-License-Identifier: Unlicense
44

55
repos:
6-
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
8-
hooks:
9-
- id: check-yaml
10-
- id: trailing-whitespace
11-
- id: end-of-file-fixer
12-
- id: forbid-submodules
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.4.0
8+
hooks:
9+
- id: check-yaml
10+
- id: trailing-whitespace
11+
- id: end-of-file-fixer
12+
- id: forbid-submodules
1313

14-
- repo: local
15-
hooks:
16-
#- id: codespell
17-
# name: codespell
18-
# entry: codespell
19-
# types_or: [c, header]
20-
# language: system
14+
- repo: https://github.com/codespell-project/codespell
15+
rev: v2.2.4
16+
hooks:
17+
- id: codespell
2118

22-
- id: unit-test
23-
name: unit-test
24-
files: ^(src/|test/unit-test/)
25-
entry: sh -c "cd test/unit-test && ceedling test:all"
26-
pass_filenames: false
27-
types_or: [c, header]
28-
language: system
19+
- repo: local
20+
hooks:
21+
- id: unit-test
22+
name: unit-test
23+
files: ^(src/|test/unit-test/)
24+
entry: sh -c "cd test/unit-test && ceedling test:all"
25+
pass_filenames: false
26+
types_or: [c, header]
27+
language: system

0 commit comments

Comments
 (0)