File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ ifneq ($(VERSION_CODENAME),)
9
9
SETUP_TESTS_EXTRA_ARGS =--extra apt-$(VERSION_CODENAME )
10
10
endif
11
11
12
- UV_FROZEN =true
13
-
14
12
include common.mk
15
13
16
14
.PHONY : format
Original file line number Diff line number Diff line change 16
16
PRETTIER =npm exec --package=prettier -- prettier
17
17
PRETTIER_FILES =**.yaml **.yml **.json **.json5 **.css **.md
18
18
19
+ # By default we should not update the uv lock file here.
20
+ export UV_FROZEN := true
21
+
19
22
.DEFAULT_GOAL := help
20
23
21
24
.ONESHELL :
@@ -45,19 +48,19 @@ help: ## Show this help.
45
48
46
49
.PHONY : setup
47
50
setup : install-uv setup-precommit # # Set up a development environment
48
- uv sync --frozen $(SETUP_TESTS_EXTRA_ARGS ) --extra docs --extra lint --extra types
51
+ uv sync $(SETUP_TESTS_EXTRA_ARGS ) --extra docs --extra lint --extra types
49
52
50
53
.PHONY : setup-tests
51
54
setup-tests : install-uv install-build-deps # #- Set up a testing environment without linters
52
- uv sync --frozen $(SETUP_TESTS_EXTRA_ARGS )
55
+ uv sync $(SETUP_TESTS_EXTRA_ARGS )
53
56
54
57
.PHONY : setup-lint
55
58
setup-lint : install-uv install-shellcheck install-pyright install-lint-build-deps # #- Set up a linting-only environment
56
- uv sync --frozen -- no-install-workspace --extra lint --extra types
59
+ uv sync --no-install-workspace --extra lint --extra types
57
60
58
61
.PHONY : setup-docs
59
62
setup-docs : install-uv # #- Set up a documentation-only environment
60
- uv sync --frozen -- no-dev --no-install-workspace --extra docs
63
+ uv sync --no-dev --no-install-workspace --extra docs
61
64
62
65
.PHONY : setup-precommit
63
66
setup-precommit : install-uv # #- Set up pre-commit hooks in this repository.
You can’t perform that action at this time.
0 commit comments