-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (58 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (58 loc) · 1.6 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
69
[project]
name = "agntcy-dir"
version = "1.7.0"
description = "Directory SDK"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"agntcy-dir-grpc-python==1.83.1.3.20260818142512+ad29ba5021f2", # v1.7.0
"agntcy-dir-protocolbuffers-python==36.1.0.1.20260818142512+ad29ba5021f2", # v1.7.0
"authlib>=1.6.9",
"httpx>=0.28.1",
"grpcio>=1.78.0",
"protobuf>=7.36.1",
"pyasn1>=0.6.3",
"spiffe>=0.2.6",
"spiffe-tls>=0.3.1",
]
[dependency-groups]
dev = [
"pytest>=9.0.0",
"pytest-cov>=6.0.0",
"uuid>=1.30",
"mypy==2.3.1",
"ruff==0.16.7",
"pydantic>=2.13.4",
]
[[tool.uv.index]]
name = "buf"
url = "https://buf.build/gen/python"
[tool.uv.sources]
agntcy-dir-grpc-python = { index = "buf" }
agntcy-dir-protocolbuffers-python = { index = "buf" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
exclude = ["/dir-sdk-python/agntcy/dir_sdk/tests"]
[tool.hatch.build.targets.wheel]
packages = ["dir-sdk-python/agntcy"]
[tool.pytest.ini_options]
pythonpath = ["dir-sdk-python"]
addopts = ["--import-mode=importlib"]
[tool.ruff.lint]
extend-select = ["ANN", "ARG", "ASYNC", "B", "I", "N", "SIM"]
[tool.ruff.lint.per-file-ignores]
"dir-sdk-python/agntcy/dir_sdk/models/*.py" = ["F403"]
[tool.mypy]
python_version = "3.11"
mypy_path = "dir-sdk-python"
explicit_package_bases = true
exclude_gitignore = true
warn_return_any = false
warn_unused_configs = true
warn_unused_ignores = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = ["grpc.*", "google.*", "authlib.*", "spiffe.*"]
ignore_missing_imports = true