-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjustfile
More file actions
40 lines (29 loc) · 933 Bytes
/
justfile
File metadata and controls
40 lines (29 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
black *args="":
uv run black --check src tests {{ args }}
ruff *args="":
uv run ruff check {{ args }}
toml-sort *args:
uv run toml-sort {{ args }} pyproject.toml
type-check *args:
uv run ty check
check: black ruff type-check
{{ just_executable() }} toml-sort --check
fix:
uv run black src tests
uv run ruff check --fix src tests
{{ just_executable() }} toml-sort --in-place
release:
uv build
uv publish
run *args="":
uv run classify {{ args }}
@console:
just run django.views.generic.FormView --console-theme dracula
@html:
just run django.views.generic.FormView --renderer html --output output
test *args="":
uv run -m coverage run --module pytest tests {{ args }}
-uv run -m coverage report
uv run -m coverage html
e2e *args="--console-theme dracula":
classify tests.dummy_class.DummyClass --django-settings classify.contrib.django.settings {{ args }}