Skip to content

Commit f15b4ca

Browse files
committed
Run uv run with --frozen
As per astral-sh/uv#10845, `uv run` can under some circumstances change the lockfile. We don't want that when running code, so pass `--frozen` to it.
1 parent fc4cb07 commit f15b4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,11 @@ lint-actions: ## lint action workflow files
393393
.PHONY: lint-templates
394394
lint-templates: .venv node_modules ## lint template files
395395
@node tools/lint-templates-svg.js
396-
@uv run djlint $(shell find templates -type f -iname '*.tmpl')
396+
@uv run --frozen djlint $(shell find templates -type f -iname '*.tmpl')
397397

398398
.PHONY: lint-yaml
399399
lint-yaml: .venv ## lint yaml files
400-
@uv run yamllint -s .
400+
@uv run --frozen yamllint -s .
401401

402402
.PHONY: watch
403403
watch: ## watch everything and continuously rebuild

0 commit comments

Comments
 (0)