test: scaffold pytest suite with mise, uv and Task

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobias KaupatandClaude Sonnet 5.5 committed 2026-10-19 14:53:06 +02:00
1 parent 31f06b5d9b
commit b94795ee8d
8 files changed
+511

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
[project]
name = "restic-backup-docker-tests"
version = "0.0.0"
description = "Container test suite for restic-backup-docker"
requires-python = ">=3.13"
dependencies = []
[dependency-groups]
dev = [
"docker>=7.1",
"pytest>=8.3",
"ruff>=0.8",
]
[tool.uv]
package = false
default-groups = ["dev"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
markers = [
"feature(name): test needs an optional image feature; skipped when absent, failed when listed in tests/required-features.txt",
]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]