Skip to content

Commit 8931d53

Browse files
committed
workflows: compliance: Add ruff to the compliance checks
Adds ruff python formatter/linter to the list of compliace checks which need to pass Signed-off-by: Jamie McCrae <[email protected]>
1 parent b7e0af8 commit 8931d53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/compliance.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
pip3 install -U pip
3434
pip3 install -U wheel
3535
grep -E "^setuptools" scripts/requirements-fixed.txt | cut -d ' ' -f '1' | xargs pip3 install -U
36-
grep -E "^python-magic=|^junitparser|^lxml|^gitlint|^pylint|^pykwalify|^yamllint|^unidiff|^vermin|^python-dotenv|^tabulate" scripts/requirements-fixed.txt | cut -d ' ' -f '1' | xargs pip3 install -U
36+
grep -E "^python-magic=|^junitparser|^lxml|^gitlint|^pylint|^pykwalify|^yamllint|^unidiff|^vermin|^python-dotenv|^tabulate|^ruff" scripts/requirements-fixed.txt | cut -d ' ' -f '1' | xargs pip3 install -U
3737
grep -E "^west" scripts/requirements-fixed.txt | cut -d ' ' -f '1' | xargs pip3 install -U
3838
pip3 show -f west
3939
@@ -68,8 +68,7 @@ jobs:
6868
ls -la
6969
git log --pretty=oneline | head -n 10
7070
$ZEPHYR_BASE/scripts/ci/check_compliance.py --annotate \
71-
-e KconfigBasicNoModules -e ClangFormat -e Ruff \
72-
-e SysbuildKconfigBasicNoModules \
71+
-e KconfigBasicNoModules -e ClangFormat -e SysbuildKconfigBasicNoModules \
7372
-c origin/${BASE_REF}..
7473
7574
- name: upload-results

0 commit comments

Comments
 (0)