Skip to content

Commit d4e9846

Browse files
committed
chore: Update steps to activate virtual environment
1 parent 324d033 commit d4e9846

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ Thank you for your interest in contributing to `python-roborock`! We welcome con
1616
uv venv
1717
uv sync
1818
```
19-
4. **Install pre-commit hooks**. This ensures your code meets our quality standards. Once installed, these hooks run automatically on staged files when you commit:
19+
4. **Activate the virtual environment**. This is required for running `pre-commit` hooks and `pytest`:
20+
```bash
21+
source .venv/bin/activate
22+
```
23+
24+
5. **Install pre-commit hooks**. This ensures your code meets our quality standards. Once installed, these hooks run automatically on staged files when you commit:
2025
```bash
2126
pre-commit install
2227
```
@@ -43,8 +48,8 @@ pre-commit run --all-files
4348
We use `pytest` for testing. Please ensure all tests pass and add new tests for your changes.
4449

4550
```bash
46-
# Run tests using uv
47-
uv run pytest
51+
# Run tests
52+
pytest
4853
```
4954

5055
## Pull Requests

0 commit comments

Comments
 (0)