- Rename the project to "scrobbler" with a src/ layout (hatchling) - ruff + pytest dev tooling and a smoke test - CI workflow (lint, test) that reports every run to ntfy via a reusable composite action Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
585 B
TOML
32 lines
585 B
TOML
[project]
|
|
name = "scrobbler"
|
|
version = "0.1.0"
|
|
description = "Self-hosted, Last.fm-compatible music scrobbling service"
|
|
requires-python = ">=3.13"
|
|
dependencies = []
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/scrobbler"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-ra"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py313"
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "B", "UP", "SIM"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.1.1",
|
|
"ruff>=0.16.9",
|
|
]
|