42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[project]
|
|
name = "utils"
|
|
version = "0.1.2"
|
|
description = "Some hopefully useful utilities to use in everyday coding"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "Mathias Schneider", email = "mathias.schneider@d-fine.com" }
|
|
]
|
|
requires-python = ">=3.14"
|
|
dependencies = [
|
|
"black>=26.5.1",
|
|
"pydantic>=2.13.5",
|
|
"pydantic-settings>=2.15.0",
|
|
"pytest>=9.1.1",
|
|
"ruff>=0.16.10",
|
|
"tk>=0.1.0",
|
|
"twine>=7.0.0",
|
|
"uvicorn>=0.54.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
utils = "utils:main"
|
|
|
|
[tool.pytest.ini_options]
|
|
# Live tests open a real GUI dialog and are intended for local manual
|
|
# testing only; they are deselected by default (e.g. in the pipeline)
|
|
# and run explicitly with: uv run pytest -m live
|
|
addopts = "-m 'not live'"
|
|
markers = [
|
|
"live: opens a real GUI dialog, intended for local manual testing",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
# File modes are unreliable in this environment (/mnt/anbau mounts force 0777),
|
|
# which makes EXE002 report every file locally. Ignore it deliberately instead of
|
|
# relying on a personal global config that CI does not have.
|
|
ignore = ["EXE002"]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.12.20,<0.13.0"]
|
|
build-backend = "uv_build"
|