Configure shared offline commit checks #5
Labels
No labels
area/backend
area/frontend
area/tooling
kind
build
kind
chore
kind
ci
kind
docs
kind
feat
kind
perf
kind
test
size
l
size
m
size
s
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#9 Enforce frontend correctness and report runtime performance
viacheslavshuka/quorum
#13 Enforce complete validation in the shared Forgejo runner flow
viacheslavshuka/quorum
Reference
viacheslavshuka/quorum#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contributors need the same installed tools locally and in CI. Commit checks must work without network access after setup.
Scope
Configure pre-commit and pre-commit-hooks in the shared project
.venv. Provide one documented setup procedure and explicit complete-check command. Pin native tools during setup. Preserve the existing Python 3.14, uv, Ruff, WPS, and strict mypy configuration.Acceptance criteria
.venv. Native executables, including Gitleaks, come from documented setup. Hooks never resolve, download, or install packages.uv.lockstops the commit with an instruction to run explicituv addoruv sync. Missing tools produce a setup instruction.Validation
Exercise commits with networking disabled after setup. Cover a stale lockfile, missing executable, a detected test secret, an edited file, and both size boundaries. Check the index remains unchanged when hooks edit files. Document which complete checks require containers or network access.
Related work