-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
75 lines (65 loc) · 1.25 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
[project]
name = "databricks-ai-bridge"
version = "0.1.1.dev0"
description = "Official Python library for Databricks AI support"
authors = [
{ name="Prithvi Kannan", email="[email protected]" },
]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"typing_extensions",
"pydantic",
"databricks-sdk>=0.34.0",
"pandas",
"tiktoken>=0.8.0",
"tabulate",
"mlflow-skinny>=2.19.0",
]
[project.license]
file = "LICENSE.txt"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"src/*"
]
[tool.hatch.build.targets.wheel]
packages = ["src/databricks_ai_bridge"]
[project.optional-dependencies]
dev = [
"hatch",
"pytest",
"ruff==0.6.4",
]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = [
# isort
"I",
# bugbear rules
"B",
# remove unused imports
"F401",
# bare except statements
"E722",
# print statements
"T201",
"T203",
# misuse of typing.TYPE_CHECKING
"TCH004",
# import rules
"TID251",
# undefined-local-with-import-star
"F403",
]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 88
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
pythonpath = ["src"]