unraid-mcp/.pre-commit-config.yaml
Jacob Magar 583fed3cd1 chore(quality-gates): add Justfile, .pre-commit-config.yaml, and check scripts
- Justfile: standard recipes (dev, test, lint, fmt, typecheck, validate-skills,
  build, up, down, restart, logs, health, test-live, setup, gen-token,
  check-contract, clean) using uv/ruff for Python
- .pre-commit-config.yaml: four hooks (skills-validate, docker-security,
  no-baked-env, ensure-ignore-files)
- scripts/: copy check-docker-security.sh, check-no-baked-env.sh,
  check-outdated-deps.sh, ensure-ignore-files.sh, lint-plugin.sh from
  claude-homelab canonical source; all chmod +x

Closes claude-homelab-5sy
2026-03-31 17:25:56 -04:00

23 lines
697 B
YAML

repos:
- repo: local
hooks:
- id: skills-validate
name: Validate skills
entry: just validate-skills
language: system
pass_filenames: false
- id: docker-security
name: Docker security check
entry: bash scripts/check-docker-security.sh
language: system
pass_filenames: false
- id: no-baked-env
name: No baked env vars
entry: bash scripts/check-no-baked-env.sh
language: system
pass_filenames: false
- id: ensure-ignore-files
name: Ensure ignore files
entry: bash scripts/ensure-ignore-files.sh --check
language: system
pass_filenames: false