Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.36 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (51 loc) · 1.36 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
[project]
name = "astrolab"
version = "0.0.0"
description = "Local-first astrophotography processing workbench"
license = "MIT"
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.14.4",
"pyyaml>=6.0.4",
"pillow>=10.0",
"astropy>=6.1",
"tifffile>=2026.11.26",
"imagecodecs>=2024.1",
"xxhash>=3.4",
"fastapi>=0.165.0",
"uvicorn[standard]>=0.54.0",
"psutil>=5.9",
"opentelemetry-sdk>=1.45.2",
"opentelemetry-exporter-otlp-proto-http>=1.45.2",
"opentelemetry-instrumentation-fastapi>=0.66b2",
"opentelemetry-instrumentation-urllib>=0.66b2",
"opencv-python-headless>=5.1.0.95",
]
[project.optional-dependencies]
dev = [
"pytest>=9.2.0",
"pytest-xdist>=3.6",
"hypothesis>=6.170.22",
"ruff>=0.17.6",
"httpx>=0.29.0",
]
[project.scripts]
astrolab = "server.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["server", "nodes"]
include = ["server/catalog/data/*.json"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM"]
[tool.ruff.lint.per-file-ignores]
# Tests are readable with longer lines (lots of Ref(...) constructors); the
# 100-col rule isn't load-bearing for fixtures.
"tests/*" = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"