feat: add testing to python template

This commit is contained in:
Leon Schwarzäugl 2024-12-31 16:25:43 +01:00
parent fbc134388d
commit ed9e8bc22e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
8 changed files with 329 additions and 69 deletions

View file

@ -5,7 +5,6 @@ description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"urllib3>=2.2.3",
]
[project.scripts]
@ -17,5 +16,17 @@ build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff>=0.6.7",
{include-group = "test"},
{include-group = "lint"},
{include-group = "lsp"},
]
lsp = [
"python-lsp-server",
]
lint = [
"ruff>=0.6.7",
]
test = [
"pytest-cov>=6.0.0",
"pytest>=8.3.3",
]