From f47f2dc70fb79adebe84437614e671ef88fef344 Mon Sep 17 00:00:00 2001 From: Jakub Kocka Date: Thu, 4 Jan 2024 16:59:29 +0100 Subject: [PATCH] fix: KConfig files checks in pre-commit hook --- tools/ci/check_kconfigs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/check_kconfigs.py b/tools/ci/check_kconfigs.py index ac3adf2cde..08b086ebfb 100755 --- a/tools/ci/check_kconfigs.py +++ b/tools/ci/check_kconfigs.py @@ -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)