48 lines
828 B
TOML
48 lines
828 B
TOML
[project]
|
|
name = "agebd-orbitbump"
|
|
version = "0.1.0"
|
|
description = "AGEBD-ORBITBUMP Service"
|
|
requires-python = "==3.10.*"
|
|
dependencies = [
|
|
"agebd",
|
|
"pyepics>=3.5.8",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.4.2",
|
|
"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 }
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.uv]
|
|
package = true
|
|
|
|
[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"]
|