-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (61 loc) · 1.68 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (61 loc) · 1.68 KB
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
[tool.poetry]
name = "fastapi-oidc"
version = "0.1.0"
description = "A simple library for parsing and verifying externally issued OIDC ID tokens in fastapi."
authors = ["HarryMWinters <harrymcwinters@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/HarryMWinters/fastapi-oidc"
repository = "https://github.com/HarryMWinters/fastapi-oidc"
documentation = "https://fastapi-oidc.readthedocs.io/en/latest/"
include = ["fastapi_oidc/py.typed"]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = ">= 0.61.0"
pydantic = ">= 2.0.0"
cachetools = ">= 4.1.1"
requests = ">= 2.24.0"
python-jose = {extras = ["cryptography"], version = ">= 3.2.0"}
[tool.poetry.group.dev.dependencies]
pytest = ">=8,<10"
pytest-cov = ">=5,<8"
black = ">=24,<27"
pylint = "^3.0.0"
pyjwt = "^2.0.0"
sphinx = "^8.0.0"
mypy = ">=1.11,<3.0"
types-cachetools = "^6.0"
types-requests = "^2.25.0"
pre-commit = "^3.0.0"
types-python-jose = "^3.3"
httpx = "^0.28.1"
uvicorn = {extras = ["standard"], version = "^0.49.0"}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
force_single_line = "True"
known_first_party = []
known_third_party = ["cachetools", "cryptography", "fastapi", "jose", "jwt", "pydantic", "pytest", "requests"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"-v",
"--strict-markers",
"--cov=fastapi_oidc",
"--cov-report=term-missing",
"--cov-report=xml",
"--cov-fail-under=80",
]
[tool.coverage.run]
source = ["fastapi_oidc"]
omit = ["*/tests/*"]
branch = true
[tool.coverage.report]
precision = 2
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]