zephyr/scripts/ci
Grzegorz Swiderski 50d9ed5ce1 scripts: ci: check_compliance: Update KconfigCheck subclassing
So far, the behavior of different Kconfig checks has been parametrized
using the `run()` method, and every new check has introduced with it a
new argument to that method.

It's possible to replace each `run()` argument by way of overriding
different class methods and making better use of inheritance:

    free=False          Stub check_no_undef_outside_kconfig()
    no_modules=True     Stub get_modules()
    filename            Introduce class member FILENAME
    hwm                 (unused)

This should establish a more scalable and straightforward pattern for
adding future Kconfig checks. It also favors composability, which will
come in handy when implementing checks for sysbuild Kconfig.

Additionally, avoid duplicating `doc` and `path_hint` in every subclass.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-01-17 16:35:53 +01:00
..
coverage
es_upload ci: elasticsearch: Upload script index map examples 2024-09-26 17:44:01 -04:00
stats
check_compliance.py scripts: ci: check_compliance: Update KconfigCheck subclassing 2025-01-17 16:35:53 +01:00
errno.py
guideline_check.py
Kconfig.board.v2 scripts: ci: check_compliance: add BOARD_REVISION in Kconfig.board.v2 2024-10-07 18:42:14 +02:00
pylintrc ci: compliance: remove dropped pylint rules 2024-09-26 13:30:12 -05:00
tags.yaml scripts: ci: tags: Add zephyr-keep-sorted check 2024-11-26 14:43:47 +00:00
test_plan.py ci: testsplan: skip module handling with no west changes 2024-11-27 10:59:11 -05:00
twister_ignore.txt CODEOWNERS: drop CODEOWNERS file as it's not used anymore 2024-12-03 04:01:27 +01:00
upload_test_results_es.py ci: elasticsearch: Upload script improvements 2024-09-09 15:24:26 +03:00
version_mgr.py