Skip to content

chore(hooks): мигрировать с pre-commit на lefthook - #28

Merged
vladcheck merged 1 commit into
mainfrom
vladcheck/migrate-to-left-hook
Oct 12, 2026
Merged

vladcheck merged 1 commit into
mainfrom
vladcheck/migrate-to-left-hook

Conversation

@vladcheck

Copy link
Copy Markdown
Owner

Replaces the Python-based pre-commit framework with lefthook (single Go binary, no Python/pip needed).

  • adds lefthook.yml with the same three check-only jobs (checkstyle, spotless, unit tests)
  • removes .pre-commit-config.yaml
  • updates README.md setup instructions
  • rewrites setup.ps1 to install lefthook via winget/scoop

Hooks verified end-to-end: all three jobs passed on the migration commit (55 unit tests green).

Closes #27

@vladcheck
vladcheck force-pushed the vladcheck/migrate-to-left-hook branch from 1431e50 to 9e14b3b Compare October 12, 2026 09:53
@vladcheck vladcheck self-assigned this Oct 12, 2026
@vladcheck vladcheck changed the title chore(hooks): migrate from pre-commit to lefthook chore(hooks): мигрировать с pre-commit на lefthook Oct 12, 2026
@vladcheck
vladcheck force-pushed the vladcheck/migrate-to-left-hook branch from 9e14b3b to 115e9c9 Compare October 12, 2026 09:59
@vladcheck
vladcheck merged commit ca6b04d into main Oct 12, 2026
8 checks passed
@vladcheck
vladcheck deleted the vladcheck/migrate-to-left-hook branch October 12, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate git hooks from pre-commit to lefthook

1 participant