mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-18 23:57:55 -06:00
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:
1 parent
b9f309940c
commit
0c074f8458
4 files changed
+32
-11
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user