-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (74 loc) · 2.11 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
79
80
81
[tool.poetry]
name = "dnstapir"
version = "1.2.0"
description = "DNS TAPIR Python Library"
authors = ["Jakob Schlyter <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
jsonformatter = "^0.3.2"
opentelemetry-api = { version = "^1.28.1", optional = true }
opentelemetry-exporter-otlp = { version = "^1.28.1", optional = true }
opentelemetry-instrumentation-botocore = { version = ">=0.48b0", optional = true }
opentelemetry-instrumentation-fastapi = { version = ">=0.48b0", optional = true }
opentelemetry-instrumentation-pymongo = { version = ">=0.48b0", optional = true }
opentelemetry-instrumentation-redis = { version = ">=0.48b0", optional = true }
botocore = { version = "^1.35.82", optional = true }
fastapi = { version = ">=0.115.2", optional = true }
cryptography = { version = ">=43.0.3", optional = true }
faas-cache-dict = { version = "^0.5.0", optional = true }
httpx = { version = ">=0.27.2", optional = true }
pydantic = { version = "^2.9.2", optional = true }
pymongo = { version = "^4.10.1", optional = true }
redis = { version = "^5.1.1", optional = true }
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"
ruff = ">=0.7.0"
pytest-ruff = "^0.4.1"
fakeredis = "^2.25.1"
pytest-httpx = "^0.34.0"
[tool.poetry.extras]
keymanager = [
"cryptography",
"faas-cache-dict",
"httpx",
"opentelemetry-api",
"pydantic",
"pymongo",
"redis",
]
opentelemetry = [
"botocore",
"fastapi",
"opentelemetry-api",
"opentelemetry-exporter-otlp",
"opentelemetry-instrumentation-botocore",
"opentelemetry-instrumentation-fastapi",
"opentelemetry-instrumentation-pymongo",
"opentelemetry-instrumentation-redis",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501", "I001"]
[tool.ruff.lint.isort]
force-sort-within-sections = false
combine-as-imports = true
split-on-trailing-comma = false