mirror of
https://github.com/bpmforge/kryptkeeper.git
synced 2026-11-23 16:02:01 +00:00
aa931b7a0d
Snapshot of development commit f9238f2a (dev tag v1.1.3). Release notes: docs/release/RELEASE_NOTES_v1.1.3.md. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
9 lines
405 B
Bash
Executable File
9 lines
405 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Pre-commit: auto-fix formatting in staged files, then refuse clear-cut slop in
|
|
# the lines being added (scripts/ci/check-slop.py). Install: make hooks.
|
|
# Bypass for an emergency with `git commit --no-verify`; CI runs the same check.
|
|
set -euo pipefail
|
|
root=$(git rev-parse --show-toplevel)
|
|
bash "$root/scripts/ci/autofix.sh" --staged
|
|
python3 "$root/scripts/ci/check-slop.py" --staged
|