Skip to content

Commit 92e2705

Browse files
committed
Update documentation to reflect newer changes
1 parent cd4fdb7 commit 92e2705

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -312,30 +312,45 @@ As an example, if you have the following in the `justfile` (this is included wit
312312
generated by this project):
313313

314314
```just
315+
@_default:
316+
just --list
317+
315318
@lint:
316319
echo mypy
317320
just --justfile {{justfile()}} mypy
318-
echo ruff
319-
just --justfile {{justfile()}} ruff
321+
echo ruff-check
322+
just --justfile {{justfile()}} ruff-check
320323
echo ruff-format
321324
just --justfile {{justfile()}} ruff-format
322325
323326
@mypy:
324-
uv run mypy meilisearch_python_sdk tests
327+
uv run mypy my_project tests
325328
326-
@ruff:
327-
uv run ruff check .
329+
@ruff-check:
330+
uv run ruff check my_project tests
328331
329332
@ruff-format:
330-
uv run ruff format meilisearch_python_sdk tests examples
333+
uv run ruff format my_project tests
334+
335+
@test *args="":
336+
-uv run pytest {{args}}
337+
338+
@lock:
339+
uv lock
340+
341+
@lock-upgrade:
342+
uv lock --upgrade
343+
344+
@install:
345+
uv sync --frozen --all-extras
331346
```
332347

333348
Then you can run `mypy`, `ruff` check, and `ruff` format with:
334349

335350
```sh
336351
just mypy
337-
just ruff
338-
just ruff format
352+
just ruff-check
353+
just ruff-format
339354
```
340355

341356
You can also run all 3 with 1 `just` command:

0 commit comments

Comments
 (0)