Update Makefile
This commit is contained in:
parent
b63e48c8a4
commit
d81c33d1da
10
Makefile
10
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!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user