-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (71 loc) · 1.68 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (71 loc) · 1.68 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
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "strata"
version = "0.7.0"
description = "Maturity-assessed, rubric-graded AI operating system for the CFO / VP Finance function"
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "Shyam Desigan" }]
license = { text = "Proprietary" }
dependencies = [
"pydantic>=2.6",
"sqlalchemy>=2.0",
"alembic>=1.13",
"psycopg[binary]>=3.1",
"pyyaml>=6.0",
"jsonschema>=4.21",
"python-dotenv>=1.0",
"typer>=0.12",
"rich>=13.7",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.4",
"mypy>=1.10",
]
llm = [
"anthropic>=0.34",
"openai>=1.40",
"ddtrace>=2.8",
]
vector = [
"astrapy>=1.5",
]
ui = [
"streamlit>=1.31",
"pandas>=2.1",
"altair>=5.2",
]
[project.scripts]
strata = "strata.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/strata"]
# YAML rubrics + catalog ship with the package by default since they live
# inside src/strata. No force-include needed.
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
markers = [
"live_llm: hits real Anthropic; runs only when ANTHROPIC_API_KEY is set",
"live_postgres: hits a live Postgres at DATABASE_URL; opt-in",
"live_astra: hits a live Astra DB at ASTRA_DB_API_ENDPOINT; opt-in",
]
[tool.coverage.run]
source = ["src/strata"]
branch = true
[tool.coverage.report]
fail_under = 80
show_missing = true
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true