File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -312,30 +312,45 @@ As an example, if you have the following in the `justfile` (this is included wit
312312generated 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
333348Then you can run ` mypy ` , ` ruff ` check, and ` ruff ` format with:
334349
335350``` sh
336351just mypy
337- just ruff
338- just ruff format
352+ just ruff-check
353+ just ruff- format
339354```
340355
341356You can also run all 3 with 1 ` just ` command:
You can’t perform that action at this time.
0 commit comments