-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathJustfile
More file actions
45 lines (32 loc) · 811 Bytes
/
Justfile
File metadata and controls
45 lines (32 loc) · 811 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
41
42
43
44
45
set dotenv-load := true
@_default:
just --list
[private]
nox SESSION *ARGS:
uv run nox --session "{{ SESSION }}" -- "{{ ARGS }}"
bootstrap:
uv sync --locked
download:
python -m download
lock *ARGS:
uv lock {{ ARGS }}
# ----------------------------------------------------------------------
# TESTING/TYPES
# ----------------------------------------------------------------------
test *ARGS:
@just nox test {{ ARGS }}
testall *ARGS:
@just nox tests {{ ARGS }}
coverage:
@just nox coverage
types:
@just nox mypy
# ----------------------------------------------------------------------
# UTILS
# ----------------------------------------------------------------------
# format justfile
fmt:
just --fmt --unstable
# run prek on all files
lint:
@just nox lint