mirror of
https://github.com/rjNemo/graphql-file_upload
synced 2026-06-06 02:16:44 +00:00
18 lines
423 B
Makefile
18 lines
423 B
Makefile
.PHONY: test
|
|
test:
|
|
pipenv run pytest -v
|
|
# pipenv run pytest --cov=. --cov-report=html --cov-report=xml
|
|
# pipenv run diff-cover coverage.xml --compare-branch=origin/development
|
|
|
|
.PHONY: run
|
|
run:
|
|
pipenv run uvicorn app.main:app --reload --port=8000
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
pipenv run black -l 99 .
|
|
pipenv run flake8 .
|
|
pipenv run mypy .
|
|
pipenv run bandit -r --exclude=test .
|
|
pipenv run vulture .
|
|
pipenv run safety check
|