Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 98e9f5e

Browse files
PYTHON-5538 Clean up uv lock file handling (#2522)
1 parent d7316af commit 98e9f5e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

‎justfile‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# See https://just.systems/man/en/ for instructions
22
set shell := ["bash", "-c"]
3+
# Do not modify the lock file when running justfile commands.
4+
export UV_FROZEN := "1"
35

46
# 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"
89
doc_build := "./doc/_build"
910
mypy_args := "--install-types --non-interactive"
1011

@@ -50,15 +51,15 @@ typing-pyright: && resync
5051

5152
[group('lint')]
5253
lint: && resync
53-
{{uv_run}} pre-commit run --all-files
54+
uv run pre-commit run --all-files
5455

5556
[group('lint')]
5657
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
5859

5960
[group('test')]
6061
test *args="-v --durations=5 --maxfail=10": && resync
61-
{{uv_run}} --extra test pytest {{args}}
62+
uv run --extra test pytest {{args}}
6263

6364
[group('test')]
6465
run-tests *args: && resync

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /