Skip to content

Commit 8bd33ee

Browse files
committed
docs: install pre-commit step
Signed-off-by: OneZero-Y <[email protected]>
1 parent 985eaac commit 8bd33ee

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,19 @@ The test suite includes:
196196

197197
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.
198198

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**
199212
```bash
200213
# Install pre-commit hooks
201214
pre-commit install

0 commit comments

Comments
 (0)