Skip to content

Commit 5d9a0cb

Browse files
pdgendtkartben
authored andcommitted
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 <[email protected]>
1 parent 55bc3ac commit 5d9a0cb

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
pip3 install setuptools
4040
pip3 install wheel
41-
pip3 install python-magic lxml junitparser gitlint pylint pykwalify yamllint clang-format unidiff sphinx-lint ruff
41+
pip3 install -r scripts/requirements-compliance.txt
4242
pip3 install west
4343
4444
- name: west setup
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# COMPLIANCE: required by the compliance scripts
22

33
# used by ci/check_compliance
4+
# zephyr-keep-sorted-start
45
clang-format>=15.0.0
5-
python-magic
6-
python-magic-bin; sys_platform == "win32"
7-
lxml
6+
gitlint
87
junitparser>=2
8+
lxml
9+
pykwalify
910
pylint>=3
11+
python-magic
12+
python-magic-bin; sys_platform == "win32"
13+
ruff
14+
sphinx-lint
1015
unidiff
1116
yamllint
12-
sphinx-lint
13-
ruff
17+
# zephyr-keep-sorted-stop

0 commit comments

Comments
 (0)