mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
29 lines
494 B
Makefile
29 lines
494 B
Makefile
PIPENV_RUN := pipenv run
|
|
|
|
isort-src:
|
|
$(PIPENV_RUN) isort -rc ./fastapi_users
|
|
|
|
isort-docs:
|
|
$(PIPENV_RUN) isort -rc ./docs/src -o fastapi_users
|
|
|
|
format: isort-src isort-docs
|
|
$(PIPENV_RUN) black .
|
|
|
|
test:
|
|
$(PIPENV_RUN) pytest --cov=fastapi_users/
|
|
|
|
docs-serve:
|
|
$(PIPENV_RUN) mkdocs serve
|
|
|
|
docs-publish:
|
|
$(PIPENV_RUN) mkdocs gh-deploy
|
|
|
|
bumpversion-major:
|
|
$(PIPENV_RUN) bumpversion major
|
|
|
|
bumpversion-minor:
|
|
$(PIPENV_RUN) bumpversion minor
|
|
|
|
bumpversion-patch:
|
|
$(PIPENV_RUN) bumpversion patch
|