Replace the Python-based pre-commit framework with prek (Rust) for faster hook execution. Convert .pre-commit-config.yaml to prek.toml, remove pre-commit from dev dependencies, and apply ruff auto-fixes (UP037: remove unnecessary string quotes in type annotations). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
645 B
645 B
title, status, type, priority, created_at, updated_at
| title | status | type | priority | created_at | updated_at |
|---|---|---|---|---|---|
| Implement pre-commit hooks for linting | in-progress | task | high | 2026-02-10T12:05:39Z | 2026-02-17T17:15:05Z |
Set up pre-commit hooks to automatically run linting before every commit, catching issues before they reach the pipeline.
Checklist
- Install and configure a pre-commit framework — migrated from
pre-committoprek(Rust) - Add backend hook:
ruff check --fix+ruff formaton staged Python files - Add frontend hook:
oxlint,oxfmt --check, andtsc -bon staged TS/TSX files - Document the pre-commit setup in CLAUDE.md