File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ uv run mypy codeflash/ # Type check
2424uv run ruff check codeflash/ # Lint
2525uv 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
3131uv 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
You can’t perform that action at this time.
0 commit comments