From d81c33d1daf55ade6ff7316773defb5736a4624f Mon Sep 17 00:00:00 2001 From: kagami Date: Thu, 9 May 2024 20:49:05 +0800 Subject: [PATCH] Update Makefile --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a5f0404..cd11adf 100644 --- a/Makefile +++ b/Makefile @@ -5,18 +5,18 @@ div = $(shell printf '=%.0s' {1..120}) setup-dev: @echo "Setting up development environment..." @echo "Installing dev dependencies..." - @~/.chat/mamba/envs/devchat-commands/bin/pip install -r requirements-dev.txt + @pip install -r requirements-dev.txt @echo "Done!" check: @echo ${div} - ~/.chat/mamba/envs/devchat-commands/bin/python -m ruff check . - ~/.chat/mamba/envs/devchat-commands/bin/python -m ruff format . --check + ruff check . + ruff format . --check @echo "Done!" fix: @echo ${div} - ~/.chat/mamba/envs/devchat-commands/bin/python -m ruff format . + ruff format . @echo ${div} - ~/.chat/mamba/envs/devchat-commands/bin/python -m ruff check . --fix + ruff check . --fix @echo "Done!"