fix: KConfig files checks in pre-commit hook

pull/12901/merge
Jakub Kocka 2024-01-04 16:59:29 +01:00
rodzic 0b8e6c66c4
commit f47f2dc70f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)