Files
2026-10-22 08:45:37 +02:00

56 lines
1.2 KiB
TOML

[project]
name = "sample"
version = "0.1.1"
description = "Template project libraries"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Olivier Chabloz", email = "olivier.chabloz@sensima.ch" },
{ name = "Marc Lany", email = "marc.lany@sensima.ch" },
]
keywords = ["aimsight", "sensima"]
license = "LicenseRef-Proprietary"
license-files = ["LICENSE"]
classifiers = [
"Private :: Do Not Upload",
]
dependencies = [
"numpy",
"pandas",
]
[project.scripts]
sample = "sample.__main__:main"
[dependency-groups]
dev = [
"pytest",
"ruff",
]
docs = [
"mkdocs<2", # MkDocs 2.0 drops the plugin system that mkdocstrings needs
"mkdocs-material",
"mkdocstrings[python]",
]
[tool.uv]
# `uv sync` installs both groups so a fresh clone can test and build docs.
default-groups = ["dev", "docs"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/sample"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
# pycodestyle, pyflakes, isort, pyupgrade, bugbear, simplify
select = ["E", "W", "F", "I", "UP", "B", "SIM"]