mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-03-03 07:14:10 +01:00
Fix yamllint errors in POW configs, update CI and lint config
- Fix UART list indentation (yamllint error) - Remove trailing spaces in display lambda - Add missing newline at end of file - Add ON/OFF to yamllint truthy allowed values - Fix invalid comments rule option in .yamllint.yml - Lint only changed files in CI (avoids blocking PRs with pre-existing issues) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ extends: default
|
||||
rules:
|
||||
# ESPHome uses True/False (Python style) and yes/no
|
||||
truthy:
|
||||
allowed-values: ["true", "false", "True", "False", "yes", "no"]
|
||||
allowed-values: ["true", "false", "True", "False", "yes", "no", "on", "off", "ON", "OFF"]
|
||||
check-keys: false
|
||||
|
||||
# Lambdas and long substitutions can exceed 80 chars
|
||||
@@ -17,6 +17,5 @@ rules:
|
||||
# Some files have trailing spaces; warn only
|
||||
trailing-spaces: enable
|
||||
|
||||
# Allow comments without a space after # in some cases (e.g. # noqa)
|
||||
comments:
|
||||
min-spaces-before-comment: 1
|
||||
require-starting-space: false
|
||||
|
||||
Reference in New Issue
Block a user