Files
hla_framework_bd/services/tune/current/app/pyproject.toml
T

64 lines
1.1 KiB
TOML

[project]
name = "agebd-tune"
version = "0.1.0"
description = "AGEBD-TUNE Service"
requires-python = "==3.10.*"
dependencies = [
"agebd",
"sls2om==0.4.0",
"pyepics>=3.5.8",
"nafflib>=2.1.1",
"numpy>=1.22.3,<2.0.0",
"scikit-learn>=1.7.2",
"scipy>=1.15.3",
]
[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-env>=1.7.0",
"pytest-mock>=3.15.1",
"ruff>=0.15.20",
]
[tool.uv.sources]
# Path is relative to where agebd package is deployed on hla
# machines (see CI/CD in .gitea/workflows)
agebd = { path = "../../../../packages/agebd", editable = true }
sls2om = { index = "gitea-sls" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
package = true
[[tool.uv.index]]
# SLS Packages on Gitea
name = "gitea-sls"
url = "https://gitea.psi.ch/api/packages/sls/pypi/simple/"
[tool.pytest.ini_options]
pythonpath = ["src"]
env = [
"AGEBD_ENV=local",
]
[tool.ruff]
include = [
"src/**/*.py",
"tests/**/*.py",
]
line-length = 100
[tool.ruff.lint]
# use isort to sort imports
extend-select = ["I"]
[tool.ruff.lint.isort]
known-first-party = [
"agebd",
"sls2om",
]