forked from fastapi-users/fastapi-users
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
52 lines (36 loc) · 943 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
install:
python -m pip install --upgrade pip
pip install flit
flit install --deps develop --extras oauth,redis
isort-src:
isort ./fastapi_users ./tests
isort-docs:
isort ./docs/src -o fastapi_users
isort-examples:
isort ./examples -o fastapi_users -p app
format: isort-src isort-docs isort-examples
black .
isort-src-check:
isort --check-only ./fastapi_users ./tests
isort-docs-check:
isort --check-only ./docs/src -o fastapi_users
isort-examples-check:
isort --check-only ./examples -o fastapi_users -p app
format-check: isort-src-check isort-docs-check isort-examples-check
black --check .
lint:
flake8 ./fastapi_users ./tests
typecheck:
mypy fastapi_users/
test:
pytest --cov=fastapi_users/ --cov-report=term-missing --cov-fail-under=100
docs-serve:
mkdocs serve
docs-publish:
mkdocs gh-deploy
bumpversion-major:
bumpversion major
bumpversion-minor:
bumpversion minor
bumpversion-patch:
bumpversion patch