mirror of
https://github.com/lobaro/restic-backup-docker.git
synced 2026-11-13 15:45:22 +00:00
test: scaffold pytest suite with mise, uv and Task
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
31f06b5d9b
commit
b94795ee8d
8 files changed
+511
No files matched your search
@@ -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"]
|
||||
Reference in new issue
Block a user