ci: compliance: Install python packages from requirements

Instead of maintaining two lists, use the requirements file for
installing compliance dependencies.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-11-23 13:46:21 +01:00 committed by Benjamin Cabé
commit 5d9a0cba9b
2 changed files with 10 additions and 6 deletions

View file

@ -38,7 +38,7 @@ jobs:
run: |
pip3 install setuptools
pip3 install wheel
pip3 install python-magic lxml junitparser gitlint pylint pykwalify yamllint clang-format unidiff sphinx-lint ruff
pip3 install -r scripts/requirements-compliance.txt
pip3 install west
- name: west setup

View file

@ -1,13 +1,17 @@
# COMPLIANCE: required by the compliance scripts
# used by ci/check_compliance
# zephyr-keep-sorted-start
clang-format>=15.0.0
gitlint
junitparser>=2
lxml
pykwalify
pylint>=3
python-magic
python-magic-bin; sys_platform == "win32"
lxml
junitparser>=2
pylint>=3
ruff
sphinx-lint
unidiff
yamllint
sphinx-lint
ruff
# zephyr-keep-sorted-stop