-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
515a217
commit f86d094
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |