## Summary - Add pre-commit framework with hooks for YAML, Ansible, Python, shell, TOML, JSON, and secret detection - Fix all 91+ ansible-lint violations (variable naming, handler capitalization, changed_when) - Fix shellcheck warnings in mise-tasks scripts - Document pre-commit setup in README.md ## Deployment and Testing - [x] All pre-commit hooks pass (`uvx pre-commit run --all-files`) - [x] Test ansible playbook with `--check` mode - [x] Run `mise run indri-services-check` after deploy 🤖 Generated with [Claude Code](https://claude.com/claude-code) Reviewed-on: https://forge.tail8d86e.ts.net/eblume/blumeops/pulls/19
29 lines
556 B
YAML
29 lines
556 B
YAML
---
|
|
extends: default
|
|
|
|
rules:
|
|
line-length:
|
|
max: 120
|
|
level: warning
|
|
truthy:
|
|
allowed-values: ['true', 'false', 'yes', 'no']
|
|
comments:
|
|
min-spaces-from-content: 1
|
|
braces:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 1
|
|
brackets:
|
|
min-spaces-inside: 0
|
|
max-spaces-inside: 0
|
|
indentation:
|
|
spaces: 2
|
|
indent-sequences: consistent
|
|
# Required for ansible-lint compatibility
|
|
comments-indentation: false
|
|
octal-values:
|
|
forbid-implicit-octal: true
|
|
forbid-explicit-octal: true
|
|
|
|
ignore:
|
|
- .venv/
|
|
- pulumi/.venv/
|