Skip to content

Commit

Permalink
Use uv quiet param to produce no unexpected output for version
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Oct 29, 2024
1 parent 1b6665a commit 3c14bb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ ensure-uv: $(VIRTUAL_ENV)
@if ! command -v $(UV) >/dev/null; then \
$(PYTHON) -m ensurepip && $(PYTHON) -m pip install "uv >= 0.4.27"; \
fi
@# Be sure latest pip is installed
@$(UV) pip install "uv >= 0.4.27" --quiet
@# Install virtual environment
@$(MAKE) $(VIRTUAL_ENV) 1>/dev/null

fmt: dev
Expand All @@ -65,8 +67,8 @@ uninstall: ensure-uv
$(UV) pip uninstall $(PROJECT_NAME)

version:
@$(MAKE) dev &>/dev/null
@$(UV) run python -m setuptools_scm
@$(MAKE) ensure-uv &>/dev/null
@$(UV) run --quiet python -m setuptools_scm

help:
@echo "Makefile Targets"
Expand Down

0 comments on commit 3c14bb5

Please sign in to comment.