Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 2.08 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (55 loc) · 2.08 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 = "agent-framework-sql-server"
description = "SQL Server native vector integration for Microsoft Agent Framework."
authors = [{ name = "Microsoft", email = "af-support@microsoft.com" }]
readme = "README.md"
requires-python = ">=3.10,<3.15"
version = "1.0.0a260923"
license-files = ["LICENSE"]
urls.homepage = "https://aka.ms/agent-framework"
urls.source = "https://github.com/microsoft/agent-framework/tree/main/python"
urls.issues = "https://github.com/microsoft/agent-framework/issues"
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
dependencies = [
"agent-framework-core>=1.19.0,<2",
"mssql-python>=1.15.0,<2",
]
[tool.ruff]
extend = "../../pyproject.toml"
[tool.ruff.lint.extend-per-file-ignores]
"samples/**" = ["D", "INP", "commented-out-code", "RUF", "S", "print", "CPY"]
# SQL structure contains only quoted, validated identifiers and fixed metric/type tokens; values are always bound.
"agent_framework_sql_server/_vector_store.py" = ["S608"]
[tool.pyright]
extends = "../../pyproject.toml"
include = ["agent_framework_sql_server"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q -r fEX"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
timeout = 120
markers = ["integration: requires an explicitly designated SQL Server 2025 or Azure SQL test database"]
[tool.coverage.run]
omit = ["**/__init__.py"]
[tool.poe]
executor.type = "uv"
include = "../../shared_tasks.toml"
[tool.poe.tasks.test]
cmd = 'pytest -m "not integration" --cov=agent_framework_sql_server --cov-report=term-missing:skip-covered tests'
[tool.poe.tasks.test-integration]
cmd = 'pytest -m integration tests'
[build-system]
requires = ["flit-core>=3.11,<4.0"]
build-backend = "flit_core.buildapi"