wud/pyproject.toml

50 lines
996 B
TOML
Raw Permalink Normal View History

2024-07-28 04:50:53 +00:00
[project]
name = "wud"
version = "0.1.0"
description = ""
authors = [{ name = "James Turk", email = "dev@jpt.sh" }]
2024-07-28 06:35:08 +00:00
dependencies = [
"textual>=0.74.0",
"typer>=0.12.3",
"structlog>=24.4.0",
]
2024-07-28 04:50:53 +00:00
requires-python = ">=3.12"
readme = "README.md"
license = { text = "MIT" }
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project.scripts]
2024-07-28 06:35:08 +00:00
wud = "wud.cli:cli"
2024-07-28 04:50:53 +00:00
[tool.pdm]
distribution = true
[tool.pdm.scripts]
test.cmd = "pdm run pytest --cov=src/ --cov-report html"
lint.composite = [
"pdm run ruff check src/ tests/",
"pdm run ruff format src/ tests/",
]
docs.cmd = "pdm run mkdocs serve"
release.composite = [
"pdm version-bump",
"pdm run mkdocs gh-deploy",
"pdm publish",
"git commit -am 'release $version'",
"git tag $version",
"git push",
"git push tags",
"gh release create $version -F docs/changelog.md",
]
[tool.pdm.dev-dependencies]
dev = [
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"mkdocs-material>=9.5.30",
"ruff>=0.5.5",
]