Skip to content

Commit

Permalink
Change rye to uv in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiMozaffar committed Sep 1, 2024
1 parent 515a217 commit f86d094
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
.PHONY: install
install: ## Install the poetry environment and install the pre-commit hooks
@echo "🚀 Creating virtual environment using pyenv and poetry"
@rye sync


install: ## Install the uv environment and install the pre-commit hooks
@echo "🚀 Creating virtual environment using uv"
@uv sync

.PHONY: test
test: ## Test the code with pytest
@echo "🚀 Testing code: Running pytest"
@rye run pytest
@uv run pytest

.PHONY: check
check: ## check the code with flake8
@echo "🚀 Checking code with ruff and pyright"
@rye run ruff check .
@rye run pyright
@uv run ruff check .
@uv run pyright

0 comments on commit f86d094

Please sign in to comment.