From f15b4cad08be1492e4969c496106aadfafadbd88 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 16 Jul 2025 14:17:42 +0200 Subject: [PATCH] Run `uv run` with `--frozen` As per https://github.com/astral-sh/uv/issues/10845, `uv run` can under some circumstances change the lockfile. We don't want that when running code, so pass `--frozen` to it. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b79720b3a16c4..08ff938972d59 100644 --- a/Makefile +++ b/Makefile @@ -393,11 +393,11 @@ lint-actions: ## lint action workflow files .PHONY: lint-templates lint-templates: .venv node_modules ## lint template files @node tools/lint-templates-svg.js - @uv run djlint $(shell find templates -type f -iname '*.tmpl') + @uv run --frozen djlint $(shell find templates -type f -iname '*.tmpl') .PHONY: lint-yaml lint-yaml: .venv ## lint yaml files - @uv run yamllint -s . + @uv run --frozen yamllint -s . .PHONY: watch watch: ## watch everything and continuously rebuild