2023-02-18 20:01:13 +04:00
|
|
|
dev:
|
|
|
|
DEBUG="true" python3 -m uvicorn main:app --reload
|
|
|
|
|
|
|
|
prod:
|
|
|
|
python3 -m uvicorn main:app
|
|
|
|
|
|
|
|
format:
|
|
|
|
python3 -m autopep8 -r --in-place app/
|
|
|
|
|
|
|
|
check:
|
|
|
|
python3 -m mypy app/
|
|
|
|
python3 -m pylint app/
|
|
|
|
|
|
|
|
docker:
|
|
|
|
docker build -t ${REPO_OWNER_LOWER}/${REPO_NAME_SNAKE} .
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf app/__pycache__
|
2023-02-19 16:27:55 +04:00
|
|
|
rm -rf app/paths/__pycache__
|
2023-02-18 20:01:13 +04:00
|
|
|
rm -rf __pycache__
|
|
|
|
rm -rf .mypy_cache
|