From c9e370efcfd437b6a6f8da9d16db332aa058f0cc Mon Sep 17 00:00:00 2001 From: morris Date: Wed, 9 Sep 2026 23:24:28 +0800 Subject: [PATCH] ci(pre-commit): add esp-pylib dep to soc-caps-kconfig check commit d6771a0608a made gen_soc_caps_kconfig.py import esp_pylib, but the check-generated-soc-caps-kconfig hook never listed it in additional_dependencies. Since the hook uses language: python (isolated env), the import failed with ModuleNotFoundError. Add esp-pylib to match the other scripts that depend on it. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 512b4d4df0e..4cbebaae51c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -142,6 +142,7 @@ repos: pass_filenames: false additional_dependencies: - pyparsing + - 'esp-pylib>=1.1.0' - id: check-all-apps-readmes name: Check if all apps readme files match given .build-test-rules.yml files. Modify the supported target tables entry: tools/ci/check_build_test_rules.py check-readmes