-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
54 lines (46 loc) · 1.28 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
[tool.poetry]
name = "fastapi-opa"
version = "2.0.3"
description = "Fastapi OPA middleware incl. auth flow."
authors = ["Matthias Osswald <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
repository = "https://github.com/busykoala/fastapi-opa"
keywords = ["fastapi", "oidc", "authentication", "authorization", "saml"]
exclude = ["fastapi_opa/example_oidc.py", "fastapi_opa/example_saml.py"]
[tool.poetry.dependencies]
python = ">= 3.8, < 4.0"
fastapi = ">= 0.109.2"
itsdangerous = "*"
requests = "*"
PyJWT = {extras = ["crypto"], version = ">= 2.4"}
graphene = {version = "^2", optional = true}
python3-saml = {version = "*", optional = true}
python-multipart = {version = "*", optional = true}
[tool.poetry.dev-dependencies]
bandit = "*"
pytest = "*"
pytest-mock = "*"
mock = "*"
freezegun = "*"
Authlib = "*"
pytest-asyncio = "*"
nest-asyncio = "*"
httpx = "*"
ruff = "*"
vale = "^2.20.2"
[tool.poetry.extras]
graphql = ["graphene"]
saml = ["python3-saml", "python-multipart"]
[tool.poetry.group.dev.dependencies]
pytest-timeout = "^2.3.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["E", "F", "W", "Q", "I"]
ignore = ["E501"]
[tool.ruff.lint.isort]
force-single-line = true