Browse Source

Run `uv run` with `--frozen` (#35097)

pull/35105/head
silverwind 5 months ago committed by GitHub
parent
commit
639ac0026c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      Makefile

4
Makefile

@ -393,11 +393,11 @@ lint-actions: ## lint action workflow files
.PHONY: lint-templates .PHONY: lint-templates
lint-templates: .venv node_modules ## lint template files lint-templates: .venv node_modules ## lint template files
@node tools/lint-templates-svg.js @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 .PHONY: lint-yaml
lint-yaml: .venv ## lint yaml files lint-yaml: .venv ## lint yaml files
@uv run yamllint -s . @uv run --frozen yamllint -s .
.PHONY: watch .PHONY: watch
watch: ## watch everything and continuously rebuild watch: ## watch everything and continuously rebuild

Loading…
Cancel
Save