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: CONTRIBUTING.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ Thank you for your interest in contributing to the vLLM Semantic Router project!
10
10
-[Running Tests](#running-tests)
11
11
-[Development Workflow](#development-workflow)
12
12
-[Code Style and Standards](#code-style-and-standards)
13
+
-[Code Quality Checks](#code-quality-checks)
13
14
-[Submitting Changes](#submitting-changes)
14
15
-[Project Structure](#project-structure)
15
16
@@ -191,6 +192,31 @@ The test suite includes:
191
192
192
193
## Code Style and Standards
193
194
195
+
### Code Quality Checks
196
+
197
+
Before submitting a PR, please run the pre-commit hooks to ensure code quality and consistency. **These checks are mandatory** and will be automatically run on every commit once installed.
198
+
199
+
**Step 1: Install pre-commit tool**
200
+
```bash
201
+
# Using pip (recommended)
202
+
pip install pre-commit
203
+
204
+
# Or using conda
205
+
conda install -c conda-forge pre-commit
206
+
207
+
# Or using homebrew (macOS)
208
+
brew install pre-commit
209
+
```
210
+
211
+
**Step 2: Install pre-commit hooks for this repository**
0 commit comments