Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (61 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (61 loc) · 1.74 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
68
69
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "minilake"
version = "1.2.0"
description = "A local Databricks API emulator backed by DuckDB."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Rafael Sales", email = "rafael.sales@gmail.com" }
]
urls = { Repository = "https://github.com/dmux/minilake", Issues = "https://github.com/dmux/minilake/issues" }
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"pydantic>=2.7",
"pydantic-settings>=2.3",
"duckdb>=1.0",
"python-multipart>=0.0.9",
"aiofiles>=24.1",
"docker>=7.1",
"pyarrow>=14.0",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-xdist>=3.6",
"httpx>=0.27",
"databricks-sdk>=0.40",
"ruff>=0.6",
"pre-commit>=3.8",
# Lightweight (no JVM/Spark) real Delta Lake writer, used only to validate
# minilake's delta_scan()-based EXTERNAL table read path in tests. Actual
# users write Delta tables with real Spark (jobs or the notebook service).
"deltalake>=0.19",
"pandas>=2.0",
"pyarrow>=14.0",
]
[project.scripts]
minilake = "minilake.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/minilake"]
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
addopts = "--dist=loadfile -v"
markers = [
"serial: tests that cannot run in parallel (mutate global state)",
"crud: create/read/update/delete operations",
"workflow: multi-step end-to-end flows",
"error: error handling and edge cases",
"smoke: quick sanity checks",
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"] # line too long (handled by formatter)