Skip to content

Commit fe9f22b

Browse files
committed
docs: update pre-commit references to prek
Replace outdated pre-commit terminology with prek across documentation and CI workflow.
1 parent 8231c60 commit fe9f22b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/claude.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
PR NUMBER: ${{ github.event.pull_request.number }}
5555
EVENT: ${{ github.event.action }}
5656
57-
## STEP 1: Run pre-commit checks and fix issues
57+
## STEP 1: Run prek checks and fix issues
5858
5959
First, run `uv run prek run --from-ref origin/main` to check for linting/formatting issues on files changed in this PR.
6060
@@ -130,7 +130,7 @@ jobs:
130130
```
131131
## PR Review Summary
132132
133-
### Pre-commit Checks
133+
### Prek Checks
134134
[status and any fixes made]
135135
136136
### Code Review

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ uv run mypy codeflash/ # Type check
2424
uv run ruff check codeflash/ # Lint
2525
uv run ruff format codeflash/ # Format
2626

27-
# Pre-commit (run before committing)
28-
uv run pre-commit run --all-files
27+
# Linting (run before committing)
28+
uv run prek run --from-ref origin/main
2929

3030
# Running the CLI
3131
uv run codeflash --help
@@ -69,7 +69,7 @@ codeflash/
6969

7070
- **Line length**: 120 characters
7171
- **Python**: 3.9+ syntax
72-
- **Tooling**: Ruff for linting/formatting, mypy strict mode, pre-commit hooks
72+
- **Tooling**: Ruff for linting/formatting, mypy strict mode, prek for pre-commit checks
7373
- **Comments**: Minimal - only explain "why", not "what"
7474
- **Docstrings**: Do not add unless explicitly requested
7575
- **Naming**: NEVER use leading underscores (`_function_name`) - Python has no true private functions, use public names

0 commit comments

Comments
 (0)