mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +00:00
build: cap floating dependencies, add a ci coverage report and fix the contributing checks
This commit is contained in:
+14
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user