-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (60 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (60 loc) · 1.55 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
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "databricks-chat-template"
dynamic = ["version"]
description = "Production-ready chat application template for Databricks"
requires-python = ">=3.10"
dependencies = [
"databricks-sdk>=0.20.0",
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.4.0",
"pydantic-settings>=2.0.0",
"httpx>=0.25.0",
"python-dotenv>=1.0.0",
"pyyaml>=6.0.0",
"mlflow>=3.0.0",
"opentelemetry-api>=1.20.0",
"opentelemetry-sdk>=1.20.0",
"pandas>=2.0.0",
"sqlalchemy>=2.0.0",
"psycopg2-binary>=2.9.0",
"databricks-sql-connector>=3.0.0",
"python-multipart>=0.0.6",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"ruff>=0.1.0",
"mypy>=1.6.0",
"types-pyyaml>=6.0.0",
"build>=1.0.0",
"setuptools-scm>=8.0.0",
]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]
ignore = []
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
local_scheme = "node-and-date"
write_to = "src/_version.py"
fallback_version = "1.0.0.dev0"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
markers = [
"integration: marks tests as integration tests (require Databricks connection)",
"slow: marks tests as slow running",
]