Resolve pre-commit hook formatting failures for multiple files: **Files Fixed:** - .woodpecker/Dockerfile — Add missing final newline - .woodpecker/Dockerfile.cross — Add missing final newline - justfiles/ci.just — Remove trailing whitespace from recipe definitions - docs/setup/tracking-setup.md — Add missing final newline - crates/vapora-backend/src/api/provider_metrics.rs — Add missing final newline **Hooks Passing:** ✅ end-of-file-fixer — Files now have proper final newlines ✅ trailing-whitespace — Removed all trailing spaces ✅ mixed-line-ending — Line endings normalized These changes ensure the pre-commit framework can properly validate file formatting without blocking commits on infrastructure issues.
19 lines
568 B
YAML
19 lines
568 B
YAML
extends: default
|
|
|
|
rules:
|
|
line-length:
|
|
max: 200 # More reasonable for infrastructure code
|
|
comments:
|
|
min-spaces-from-content: 1 # Allow single space before comments
|
|
document-start: disable # Cloud-init files don't need --- start
|
|
truthy:
|
|
allowed-values: ["true", "false", "yes", "no", "on", "off"] # Allow cloud-init and GitHub Actions common values
|
|
|
|
# Ignore cloud-init files for comment spacing since #cloud-config is a special directive
|
|
# Ignore directories with generated/runtime files
|
|
ignore: |
|
|
**/cloud-init.yml
|
|
build/**
|
|
data/**
|
|
envs/**
|