Update Makefile

This commit is contained in:
kagami 2024-05-09 20:49:05 +08:00
parent b63e48c8a4
commit d81c33d1da

View File

@ -5,18 +5,18 @@ div = $(shell printf '=%.0s' {1..120})
setup-dev: setup-dev:
@echo "Setting up development environment..." @echo "Setting up development environment..."
@echo "Installing dev dependencies..." @echo "Installing dev dependencies..."
@~/.chat/mamba/envs/devchat-commands/bin/pip install -r requirements-dev.txt @pip install -r requirements-dev.txt
@echo "Done!" @echo "Done!"
check: check:
@echo ${div} @echo ${div}
~/.chat/mamba/envs/devchat-commands/bin/python -m ruff check . ruff check .
~/.chat/mamba/envs/devchat-commands/bin/python -m ruff format . --check ruff format . --check
@echo "Done!" @echo "Done!"
fix: fix:
@echo ${div} @echo ${div}
~/.chat/mamba/envs/devchat-commands/bin/python -m ruff format . ruff format .
@echo ${div} @echo ${div}
~/.chat/mamba/envs/devchat-commands/bin/python -m ruff check . --fix ruff check . --fix
@echo "Done!" @echo "Done!"