mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix: KConfig files checks in pre-commit hook
This commit is contained in:
parent
0b8e6c66c4
commit
f47f2dc70f
@ -61,7 +61,7 @@ args, unknown_args = parser.parse_known_args()
|
||||
if args.exclude_submodules:
|
||||
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
|
||||
# except IGNORE_DIRS and submodules (if exclude is given)
|
||||
|
Loading…
Reference in New Issue
Block a user