Files
AareCommon/pyproject.toml
T
perl_d 7f1d29a8cb
CI / lint (pull_request) Successful in 51s
CI / test (3.12) (pull_request) Successful in 24s
CI / test (3.11) (pull_request) Successful in 26s
CI / test (3.13) (pull_request) Successful in 23s
CI / lint (push) Canceled after 11s
CI / test (3.11) (push) Canceled after 0s
CI / test (3.12) (push) Canceled after 0s
CI / test (3.13) (push) Canceled after 0s
Build and Publish / release (push) Successful in 11s
style: formatting and linting in affected files
2026-08-07 10:52:20 +02:00

67 lines
1.2 KiB
TOML

[build-system]
requires = ["setuptools>=75.6.0"]
build-backend = "setuptools.build_meta"
[project]
name = "aarecommon"
version = "0.2.2"
description = "Common components (models, calculations) for Aare packages"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"pyyaml",
"jfjoch-client",
"pydantic",
"numpy",
"scipy",
"opencv-python-headless",
"pillow"
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-random-order",
"ruff",
"basedpyright"
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
aarecommon = [
"config/logging_configs/*.yaml",
"config/beamline_configs/*.yaml",
]
[[tool.uv.index]]
name = "psi"
url = "https://gitea.psi.ch/api/packages/mx/pypi/simple"
[tool.pytest.ini_options]
testpaths = ["tests"]
norecursedirs = ["scripts", ".venv", "logs", "docs"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.black]
line-length = 100
skip-magic-trailing-comma = true
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
split-on-trailing-comma=false
[tool.ruff]
line-length = 100
[tool.ruff.lint]
isort.split-on-trailing-comma=false
[tool.ruff.format]
skip-magic-trailing-comma = true