mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
Merge branch 'fix/pre_commit_stages' into 'master'
fix: set default pre-commit hook stages to pre-commit only Closes IDF-8882 See merge request espressif/esp-idf!27926
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
# See https://pre-commit.com for more information
|
# See https://pre-commit.com for more information
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
|
|
||||||
|
minimum_pre_commit_version: 3.3.0
|
||||||
|
default_install_hook_types: [pre-commit, commit-msg]
|
||||||
|
default_stages: [pre-commit]
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.0.1
|
rev: v4.0.1
|
||||||
@@ -194,7 +198,7 @@ repos:
|
|||||||
- id: check-copyright
|
- id: check-copyright
|
||||||
args: ['--ignore', 'tools/ci/check_copyright_ignore.txt', '--config', 'tools/ci/check_copyright_config.yaml']
|
args: ['--ignore', 'tools/ci/check_copyright_ignore.txt', '--config', 'tools/ci/check_copyright_config.yaml']
|
||||||
- repo: https://github.com/espressif/conventional-precommit-linter
|
- repo: https://github.com/espressif/conventional-precommit-linter
|
||||||
rev: v1.3.0
|
rev: v1.4.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: conventional-precommit-linter
|
- id: conventional-precommit-linter
|
||||||
stages: [commit-msg]
|
stages: [commit-msg]
|
||||||
|
Reference in New Issue
Block a user