Foundation - Pre-commit Hooks #117

Closed
opened 2026-04-03 11:13:49 +02:00 by shoko · 0 comments
Owner

Summary

Add pre-commit configuration for linting and commit message enforcement.

Details

Create .pre-commit-config.yaml with:

  • shellcheck for bash scripts
  • ruff for Python (if any)
  • commit-msg hook for Conventional Commits format

Backport Compatible

Tooling only, no runtime behavior change.

Acceptance Criteria

  • Pre-commit runs on commit
  • Shell scripts pass shellcheck
  • Commit messages follow Conventional Commits format: type(scope): message
## Summary Add pre-commit configuration for linting and commit message enforcement. ## Details Create `.pre-commit-config.yaml` with: - `shellcheck` for bash scripts - `ruff` for Python (if any) - `commit-msg` hook for Conventional Commits format ## Backport Compatible Tooling only, no runtime behavior change. ## Acceptance Criteria - [ ] Pre-commit runs on commit - [ ] Shell scripts pass shellcheck - [ ] Commit messages follow Conventional Commits format: `type(scope): message`
shoko added the backportfoundation labels 2026-04-03 11:18:15 +02:00
shoko added this to the v0.2.x milestone 2026-04-03 11:18:15 +02:00
shoko closed this issue 2026-04-07 08:45:16 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/kugetsu#117