ci: make markdown and toml hooks fix locally only
All checks were successful
CICD Start / Sanity and Base Decision (push) Successful in 38s

This commit is contained in:
copilotcoder
2026-07-01 18:47:22 -04:00
parent 2240552c83
commit e224bf57c6

View File

@@ -18,6 +18,7 @@ repos:
rev: v0.45.0
hooks:
- id: markdownlint
entry: bash -c 'if [ "${CI:-}" = "true" ]; then markdownlint "$@"; else markdownlint --fix "$@"; fi' --
files: \.(md|markdown)$
# TOML linting
@@ -25,7 +26,7 @@ repos:
rev: v2.14.0
hooks:
- id: pretty-format-toml
args: [--check]
entry: bash -c 'if [ "${CI:-}" = "true" ]; then pretty-format-toml --check "$@"; else pretty-format-toml --autofix "$@"; fi' --
# Python backend linting and formatting with ruff
- repo: local