-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (28 loc) · 947 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
30 lines (28 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
repos:
- repo: local
hooks:
- id: version-checker
name: EH Version Checker
entry: tools/check_fw_versions.py
language: python
args: [ "--update" ]
always_run: true
pass_filenames: false
- id: changelog-checker
name: EH Changelog Checker
entry: tools/check_changelog.py
language: python
files: ^idf_component.yml$
# License/copyright headers. Scope is controlled by tools/check_copyright_config.yaml,
# which ignores vendored/upstream trees and the GPL kmod. pre-commit only checks
# staged files, so this never rewrites the whole tree in one go.
- repo: https://github.com/espressif/check-copyright/
rev: v1.1.1
hooks:
- id: check-copyright
args: ['--config', 'tools/check_copyright_config.yaml']
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
args: [--config=.codespellrc]