Files
ISSSTELEON/pyproject.toml
T

58 lines
1.4 KiB
TOML

[project]
name = "isssteleon"
version = "0.0.0"
requires-python = ">=3.12,<3.13"
dependencies = ["core", "persistance", "models", "webapi"]
[project.optional-dependencies]
# Dask for the long batches where a cluster runs them (testing); the product has none.
dask = ["models[dask]"]
[tool.uv]
package = false
[tool.uv.workspace]
members = ["Core", "Persistance", "models", "WebApi", "synthetic"]
[tool.uv.sources]
core = { workspace = true }
persistance = { workspace = true }
models = { workspace = true }
webapi = { workspace = true }
synthetic = { workspace = true }
[dependency-groups]
dev = [
"synthetic",
"ruff",
"pytest",
"import-linter",
"dbt-postgres>=1.9",
"dlt[postgres]",
"httpx>=0.28.1",
]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["WebApp"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.pytest.ini_options]
testpaths = ["tests", "models/tests", "WebApi/tests"]
markers = [
"webapp: drives the WebApp in a browser (the CI web job; needs Node and Playwright)",
"slow: runs for long (a model's full bootstraps); selected on purpose",
]
[tool.ruff.lint.per-file-ignores]
"models/models/cacu/*.py" = ["E741"] # c, l, r: interval-censoring notation
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["fastapi.Depends", "fastapi.Query"]
[tool.ruff.lint.isort]
known-first-party = ["core", "persistance", "models", "webapi", "synthetic"]