feat: set up modularized version of project with testing

This commit is contained in:
Jef Roosens 2026-05-22 10:09:59 +02:00
commit 7bea08ddac
Signed by: Jef Roosens
GPG key ID: 119385BCAA005C21
19 changed files with 1138 additions and 0 deletions

32
pyproject.toml Normal file
View file

@ -0,0 +1,32 @@
[project]
name = "timesheets"
version = "0.1.0"
description = "Parse markdown timesheet tables and export to CSV"
readme = "README.md"
authors = [
{ name = "Jef Roosens", email = "roosenj@factry.io" }
]
requires-python = ">=3.13"
dependencies = []
[project.scripts]
timesheets = "timesheets.cli:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.run]
source = ["timesheets"]
[tool.coverage.report]
show_missing = true
[build-system]
requires = ["uv_build>=0.10.8,<0.11.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=9.0.3",
"pytest-cov>=7.1.0",
]