Skip to content

Commit 77ebda7

Browse files
committed
chore: update setup and pytest commands
1 parent d8109bc commit 77ebda7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ All dependencies and tools are defined in `pyproject.toml` for deterministic env
150150
3. Set up pre-commit hooks:
151151

152152
```bash
153-
pre-commit install
153+
uv run pre-commit install
154154
```
155155

156156
Hooks will auto-run `ruff` and `mypy` checks before every commit.
@@ -222,13 +222,20 @@ The session cookie will now automatically load when you `cd` into the project di
222222
- Submit your answer:
223223

224224
```bash
225-
uv run python main.py --year YEAR --day DAY --part PART --skip-test --submit
225+
uv run python main.py --year <YEAR> --day <DAY> --part <PART> --skip-test --submit
226226
```
227227

228228
- Run all tests:
229229

230230
```bash
231+
# Run all tests in the entire repository
231232
uv run pytest
233+
234+
# Run all tests for a specific year
235+
uv run pytest _202X/
236+
237+
# Run tests for a specific day
238+
uv run pytest _202X/tests/test_DD.py
232239
```
233240

234241
All core workflows utilize the CLI, and the testing framework is fully integrated.

0 commit comments

Comments
 (0)