mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/kconfig_check_pre_commit_v5.2' into 'release/v5.2'
Tools: Fix KConfig files checks in pre-commit hook (backport v5.2) See merge request espressif/esp-idf!28303
This commit is contained in:
commit
ab9ee3002f
@ -61,7 +61,7 @@ args, unknown_args = parser.parse_known_args()
|
|||||||
if args.exclude_submodules:
|
if args.exclude_submodules:
|
||||||
ignore_dirs = ignore_dirs + tuple(get_submodule_dirs(full_path=True))
|
ignore_dirs = ignore_dirs + tuple(get_submodule_dirs(full_path=True))
|
||||||
|
|
||||||
files_to_check: list = []
|
files_to_check: list = args.files
|
||||||
|
|
||||||
# if the deprecated argument '--includes' is used all valid paths are checked for KConfigs
|
# if the deprecated argument '--includes' is used all valid paths are checked for KConfigs
|
||||||
# except IGNORE_DIRS and submodules (if exclude is given)
|
# except IGNORE_DIRS and submodules (if exclude is given)
|
||||||
|
Loading…
Reference in New Issue
Block a user