build: cap floating dependencies, add a ci coverage report and fix the contributing checks

This commit is contained in:
imSp4rky
2026-11-26 13:40:07 -07:00
parent 98717fda43
commit 5575892395
4 changed files with 173 additions and 12 deletions
+14 -4
View File
@@ -59,12 +59,12 @@ dependencies = [
"aiohttp-swagger3>=0.9.0,<1",
"pysubs2>=1.7.0,<2",
"pycountry>=24.6.1",
"language-data>=1.4.0",
"language-data>=1.4.0,<2",
"wasmtime>=41.0.0",
"rnet>=2.4.2",
"rnet>=2.4.2,<3",
"mutagen>=1.47.0,<2",
"defusedxml>=0.7.1",
"rich-click>=1.9.8",
"defusedxml>=0.7.1,<0.8",
"rich-click>=1.9.8,<2",
"mediaexport @ git+https://github.com/unshackle-dl/mediaexport@main",
"segno>=1.6.6,<2",
]
@@ -98,6 +98,7 @@ test = [
"pytest-asyncio>=0.24.0,<1",
"pytest-aiohttp>=1.0.5,<2",
"pytest-xdist>=3.6.0,<4",
"pytest-cov>=7.0.0,<8",
"responses>=0.25.0,<1",
"PyYAML>=6.0.1,<7",
]
@@ -123,6 +124,15 @@ addopts = "-ra --strict-markers"
# dumps every thread's stack for a test that hangs; the CI job timeout alone leaves no trace
faulthandler_timeout = 120
[tool.coverage.run]
source = ["unshackle"]
branch = true
patch = ["subprocess"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.hatch.metadata]
allow-direct-references = true