Skip to content

Commit

Permalink
Improve Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kagami-l committed May 19, 2024
1 parent bbc53e4 commit b8a44d2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ setup-dev:
@pip install -r requirements-dev.txt
@echo "Done!"

T="."
check:
@echo ${div}
ruff check .
ruff format . --check
ruff check $(T)
ruff format $(T) --check
@echo "Done!"

fix:
@echo ${div}
ruff format .
ruff format $(T)
@echo ${div}
ruff check . --fix
ruff check $(T) --fix
@echo "Done!"

0 comments on commit b8a44d2

Please sign in to comment.