build: fail on `yamllint` warnings as well
What changed, and why it matters
This commit changes the build process so that YAML style checks treat warnings as failures. It is a code-quality tooling change with no security relevance to the firmware itself.
No security action required. Treat as a normal build-hygiene change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The Makefile target yaml_check now invokes yamllint --strict . instead of yamllint .. The --strict flag causes yamllint to exit non-zero on warnings in addition to errors. This only affects CI/style enforcement for YAML configuration files and has no functional or security impact on the Trezor firmware runtime.
Changed components
MakefileInspect captured patch +1 / −1
diff --git a/Makefile b/Makefile
index aa94e2b6..3e30f542 100644
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,7 @@ translations_style_check: ## Check that translation files are properly formatted
yaml_check: ## check yaml formatting
@echo [YAML-STYLE-CHECK]
- yamllint .
+ yamllint --strict .
editor_check: ## check editorconfig formatting
@echo [EDITORCONFIG-STYLE-CHECK]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.