File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ help: ## Show available commands and their descriptions
1010
1111.PHONY : in-venv
1212in-venv : # # make sure we're in the venv
13- uv venv
13+ uv venv --allow-existing
1414.PHONY : bootstrap
1515bootstrap : python-version clean-venv venv # # Delete existing & create new venv
1616
@@ -34,8 +34,8 @@ bootstrap-dev: ## set up a fresh dev environment
3434
3535setup-pre-commit : in-venv # # install pre-commit hooks
3636 # installing pre-commit hooks...
37- pre-commit autoupdate
38- pre-commit install && pre-commit install --hook-type commit-msg
37+ @uvx pre-commit autoupdate
38+ @uvx pre-commit install && @uvx pre-commit install --hook-type commit-msg
3939.PHONY : setup-pre-commit
4040
4141setup-docs : in-venv # # install docs dependencies
@@ -49,9 +49,9 @@ build-docs: in-venv ## build docs
4949.PHONY : build-docs
5050
5151update : in-venv # # update lock file if needed
52- uv pip install -- upgrade uv
53- pdm run update-all
54- pre-commit autoupdate
52+ @ uv pip compile pyproject.toml --all-extras -- upgrade --output-file requirements-dev.txt
53+ @uv sync
54+ @uvx pre-commit autoupdate
5555.PHONY : update
5656
5757lint : in-venv # # Run linter on python files
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ endif
225225$(VENV):
226226 $(PY) -m pip install --upgrade uv pipx
227227 $(PY) -m pipx install pdm uv
228- $(PY) -m uv venv
228+ $(PY) -m uv venv --allow-existing
229229 uv pip install --upgrade setuptools wheel pdm
230230
231231$(VENV)/$(MARKER): $(VENVDEPENDS) | $(VENV)
You can’t perform that action at this time.
0 commit comments