Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (45 loc) · 1.43 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (45 loc) · 1.43 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
[build-system]
requires = [ "poetry-core",]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "databricks_warehouse"
version = "1.0.0"
description = "A library that wraps the databricks-sql-connector for running queries on Databricks"
authors = [ "Thomas Richards <thomas.c.richards@outlook.com>"]
readme = "README.md"
[[tool.poetry.packages]]
include = "databricks_warehouse"
# As a library that should be easy to import from multiple places,
# keep dependencies lightweight and use wide version constraints.
[tool.poetry.dependencies]
python = "^3.9"
databricks-sql-connector = { version = ">=2.9", extras = ["pyarrow"] }
databricks-sdk = "^0.36.0"
toml = "^0"
polars = "^1"
pytest-mock = "^3.14.1"
# Make Databricks Connect-based Fallback an optional dependency.
# To include Databricks Connect-based fallbacks, make sure this package is added as a dependency with
# `poetry add databricks_warehouse[connect]`
# or `poetry install --extras connect`
[tool.poetry.extras]
connect = ["databricks-connect"]
[tool.poetry.group.connect.dependencies]
databricks-connect = ">=13.3.7"
[tool.poetry.group.test.dependencies]
pytest = ">=5.0"
[tool.ruff.lint]
extend-select = [ "I", "D", "E501",]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff]
line-length = 110
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@abstract",
"if __name__ == .__main__.:",
"def __repr__",
"^\\s*raise.*Error",
"\\.\\.\\.",
]