File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed
Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,9 @@ repos:
6666 rev : v2.4.1
6767 hooks :
6868 - id : codespell
69- - repo : local
69+ - repo : https://github.com/astral-sh/uv-pre-commit
70+ # uv version.
71+ rev : 0.10.9
7072 hooks :
71- - id : uv-lock-check
72- name : uv lock file check
73- entry : make uv-lock-check
74- language : system
75- pass_filenames : false
76- files : ^(pyproject\.toml|uv\.lock)$
73+ # Update the uv lockfile
74+ - id : uv-lock
Original file line number Diff line number Diff line change 1818 test test-integration test-integration-setup test-integration-exec test-integration-cleanup test-integration-rebuild \
1919 test-s3 test-adls test-gcs test-coverage coverage-report \
2020 docs-serve docs-build notebook notebook-infra \
21- clean uv-lock uv-lock-check
21+ clean
2222
2323.DEFAULT_GOAL := help
2424# ========================
@@ -193,11 +193,3 @@ clean: ## Remove build artifacts and caches
193193 @echo " Cleaning up coverage files..."
194194 @rm -rf .coverage .coverage.* htmlcov/ coverage.xml
195195 @echo " Cleanup complete."
196-
197- uv-lock : # # Regenerate uv.lock file from pyproject.toml
198- uv lock $(PYTHON_ARG )
199-
200- uv-lock-check : # # Verify uv.lock is up to date
201- @command -v uv > /dev/null || \
202- (echo " uv is required. Run 'make install' or 'make install-uv' first." && exit 1)
203- uv lock --check $(PYTHON_ARG )
You can’t perform that action at this time.
0 commit comments