Skip to content

Commit

Permalink
Add flake rule to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Mar 7, 2024
1 parent a3eb485 commit c8b133c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ define USAGE=
@echo -e
@echo -e "Usage:"
@echo -e "\tmake black [arg=--<arg>] -- black formatting"
@echo -e "\tmake flake -- run flake8"
@echo -e "\tmake celery -- start celery worker"
@echo -e "\tmake serve -- start source server"
@echo -e "\tmake serve_target -- start target server"
Expand All @@ -25,6 +26,11 @@ black:
black . -l 80 --skip-string-normalization --exclude ".git|.venv|.tox|build|env|src|docs|migrations|versioneer.py" $(arg)


.PHONY: flake
flake:
flake8 .


.PHONY: celery
celery:
celery -A config worker -l info --beat
Expand Down

0 comments on commit c8b133c

Please sign in to comment.