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
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,12 @@ Thank you for your interest in contributing to `python-roborock`! We welcome con
16
16
uv venv
17
17
uv sync
18
18
```
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:
20
25
```bash
21
26
pre-commit install
22
27
```
@@ -43,8 +48,8 @@ pre-commit run --all-files
43
48
We use `pytest`for testing. Please ensure all tests pass and add new tests for your changes.
0 commit comments