You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/contributing.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,13 +49,13 @@ cd fastmcp
49
49
# Install all dependencies including dev tools
50
50
uv sync
51
51
52
-
# Install pre-commit hooks
53
-
uv run pre-commit install
52
+
# Install prek hooks
53
+
uv run prek install
54
54
```
55
55
56
56
In addition, some development commands require [just](https://github.com/casey/just) to be installed.
57
57
58
-
Pre-commit hooks will run automatically on every commit to catch issues before they reach CI. If you see failures, fix them before committing - never commit broken code expecting to fix it later.
58
+
Prek hooks will run automatically on every commit to catch issues before they reach CI. If you see failures, fix them before committing - never commit broken code expecting to fix it later.
59
59
60
60
### Development Standards
61
61
@@ -100,11 +100,11 @@ The focus is on idiomatic, high-quality Python. FastMCP uses patterns like `NotS
100
100
101
101
**Breaking established patterns** confuses readers. If you must deviate, discuss in the issue first.
102
102
103
-
### Pre-Commit Checks
103
+
### Prek Checks
104
104
105
105
```bash
106
106
# Runs automatically on commit, or manually:
107
-
uv run pre-commit run --all-files
107
+
uv run prek run --all-files
108
108
```
109
109
110
110
This runs three critical tools:
@@ -155,7 +155,7 @@ just api-ref-all
155
155
156
156
#### Before Submitting
157
157
158
-
1.**Run all checks**: `uv run pre-commit run --all-files && uv run pytest`
158
+
1.**Run all checks**: `uv run prek run --all-files && uv run pytest`
159
159
2.**Keep scope small**: One feature or fix per PR
160
160
3.**Write clear description**: Your PR description becomes permanent documentation
161
161
4.**Update docs**: Include documentation for API changes
0 commit comments