mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
feat(ci): add error code registration check to the pre-commit hook
This commit is contained in:
@@ -189,6 +189,12 @@ repos:
|
||||
)$
|
||||
pass_filenames: false
|
||||
verbose: true
|
||||
- id: check-err-codes-registration
|
||||
name: Check error code headers are registered
|
||||
entry: tools/ci/check_err_codes_registration.py
|
||||
language: python
|
||||
files: 'components/.+\.h$|components/.+CMakeLists\.txt$'
|
||||
pass_filenames: false
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.0.1
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user