-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (54 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
64 lines (54 loc) · 1.46 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
[project]
name = "ampersend-sdk-python"
version = "0.0.22"
requires-python = ">=3.13"
dependencies = [
"ampersend-sdk",
]
[tool.uv.sources]
ampersend-sdk = { workspace = true }
[tool.uv.workspace]
members = ["python/*"]
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
select = ["I", "F401"]
[tool.mypy]
python_version = "3.13"
strict = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = ["x402_a2a.*"]
follow_untyped_imports = true
[[tool.mypy.overrides]]
# Match the main monorepo's mypy posture (also has this override).
# Without it, `siwe.siwe` triggers `import-untyped` and the SDK
# carries a `# type: ignore[import-untyped]`. With it, the ignore
# becomes redundant — keep them in sync so neither side warns.
module = ["siwe.*"]
follow_untyped_imports = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disable_error_code = ["no-untyped-def", "arg-type", "index", "type-arg"]
[tool.pytest.ini_options]
testpaths = [
"python/ampersend-sdk/tests",
"python/langchain-ampersend/tests",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-v --tb=short"
markers = [
"slow: marks tests as slow running",
"integration: marks tests as integration tests (deselect with \"-m 'not integration'\")",
]
[dependency-groups]
dev = [
"ruff>=0.13.2",
"mypy>=1.8.0",
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pydantic-settings>=2.0.0",
"python-dotenv>=1.0.0",
"langchain-tests==1.1.2",
]