File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
# See https://just.systems/man/en/ for instructions
2
2
set shell := [" bash" , " -c" ]
3
+ # Do not modify the lock file when running justfile commands.
4
+ export UV_FROZEN := " 1"
3
5
4
6
# Commonly used command segments.
5
- uv_run := " uv run --frozen "
6
- typing_run := uv_run + " --group typing --extra aws --extra encryption --extra ocsp --extra snappy --extra test --extra zstd"
7
- docs_run := uv_run + " --extra docs"
7
+ typing_run := " uv run --group typing --extra aws --extra encryption --extra ocsp --extra snappy --extra test --extra zstd"
8
+ docs_run := " uv run --extra docs"
8
9
doc_build := " ./doc/_build"
9
10
mypy_args := " --install-types --non-interactive"
10
11
@@ -50,15 +51,15 @@ typing-pyright: && resync
50
51
51
52
[group (' lint' )]
52
53
lint : && resync
53
- {{ uv_run }} pre-commit run --all-files
54
+ uv run pre-commit run --all-files
54
55
55
56
[group (' lint' )]
56
57
lint-manual : && resync
57
- {{ uv_run }} pre-commit run --all-files --hook-stage manual
58
+ uv run pre-commit run --all-files --hook-stage manual
58
59
59
60
[group (' test' )]
60
61
test * args = " -v --durations=5 --maxfail=10": && resync
61
- {{ uv_run }} --extra test pytest {{ args}}
62
+ uv run --extra test pytest {{ args}}
62
63
63
64
[group (' test' )]
64
65
run-tests * args : && resync
You can’t perform that action at this time.
0 commit comments