forked from tomasvotava/fastapi-sso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (66 loc) · 2.12 KB
/
pyproject.toml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[tool.poetry]
name = "fastapi-sso"
version = "0.11.0"
description = "FastAPI plugin to enable SSO to most common providers (such as Facebook login, Google login and login via Microsoft Office 365 Account)"
authors = ["Tomas Votava <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/tomasvotava/fastapi-sso"
homepage = "https://tomasvotava.github.io/fastapi-sso/"
documentation = "https://tomasvotava.github.io/fastapi-sso/"
keywords = ["fastapi", "sso", "oauth", "google", "facebook", "spotify", "linkedin"]
include = ["fastapi_sso/py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests/"]
asyncio_mode = "auto"
addopts = [
"-v",
"--cov=fastapi_sso",
"--cov-report=xml:coverage.xml",
"--cov-report=json:coverage.json",
"--cov-report=term-missing",
"-n",
"auto",
]
[tool.black]
line_length = 120
[tool.poe.tasks]
pylint = "pylint --disable fixme --rcfile .pylintrc fastapi_sso"
todos = "pylint --disable all --enable fixme --rcfile .pylintrc fastapi_sso"
black = "black fastapi_sso"
isort = "isort --settings-path .isort.cfg fastapi_sso"
mypy = "mypy --config-file mypy.ini fastapi_sso"
black-check = "black --check fastapi_sso"
isort-check = "isort --settings-path .isort.cfg --check-only fastapi_sso"
format = ["black", "isort"]
lint = ["pylint", "mypy", "black-check", "isort-check"]
pre-commit = "pre-commit"
test = "pytest"
coverage = "coverage report"
docs = "mkdocs build --clean"
[tool.poetry.group.dev.dependencies]
black = ">=23.7.0"
isort = "^5"
markdown-include = "^0.8.1"
mkdocs-material = { extras = ["imaging"], version = "^9.3.2" }
mkdocstrings = { extras = ["python"], version = ">=0.23,<0.25" }
mypy = "^1"
poethepoet = ">=0.21.1,<0.25.0"
pre-commit = "^3"
pylint = ">=2,<4"
pytest = ">=7,<9"
pytest-asyncio = ">=0.21.1,<0.24.0"
pytest-cov = "^4"
pytest-xdist = "^3"
tox = "^4"
uvicorn = ">=0.23.1"
[tool.poetry.dependencies]
fastapi = ">=0.80"
httpx = ">=0.23.0"
oauthlib = ">=3.1.0"
pydantic = { extras = ["email"], version = ">=1.8.0" }
python = ">=3.8,<4.0"
pylint = "^3.0.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"