fix: run mypy and shellcheck in pr_checks

validate.yml runs mypy against its baseline and checks that shellcheck
is installed, and pr_checks ran neither. The guard test only knew the
python, vermin and npm commands, so it missed both. A step can now pipe
its output into a second command, as mypy into mypy-baseline filter.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 17:58:44 +01:00
1 parent b9f309940c
commit 0c074f8458
4 files changed
+32 -11

No files matched your search

+2 -2
View File
@@ -940,8 +940,8 @@ def contributing_text(
.md for the site); *site_words* names the site from where the text is read.
"""
pip_line, floor_line = ci_install_lines()
width = max(len(step.command) for step in pr_checks.STEPS)
steps = "\n".join(f"{step.command:<{width}} # {step.why}" for step in pr_checks.STEPS)
width = max(len(pr_checks.shown(step)) for step in pr_checks.STEPS)
steps = "\n".join(f"{pr_checks.shown(step):<{width}} # {step.why}" for step in pr_checks.STEPS)
return f"""{title}
## Add a BIOS file