mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-25 02:15:08 +00:00
ci: add multi-os test, lint, and wheel build workflows
Also fixes the sdist leaving wheels empty, pins subby to its git source in wheel metadata, and fixes docstrings that broke mkdocs --strict.
This commit is contained in:
+7
-3
@@ -56,7 +56,7 @@ dependencies = [
|
||||
"chardet>=5.2.0,<6",
|
||||
"pyplayready>=0.8.3,<0.9",
|
||||
"cryptography>=45.0.0,<47",
|
||||
"subby",
|
||||
"subby @ git+https://github.com/vevv/subby.git@a057280f31acd3a0ba5c6dc69eaefbb88aea974e",
|
||||
"aiohttp>=3.14.0,<4",
|
||||
"aiohttp-swagger3>=0.9.0,<1",
|
||||
"pysubs2>=1.7.0,<2",
|
||||
@@ -92,7 +92,7 @@ dev = [
|
||||
"types-PyMySQL>=1.1.0.1,<2",
|
||||
"types-requests>=2.31.0.20240406,<3",
|
||||
"isort>=5.13.2,<8",
|
||||
"ruff>=0.3.7,<0.15",
|
||||
"ruff>=0.15.12,<0.16",
|
||||
]
|
||||
test = [
|
||||
"pytest>=8.3.0,<9",
|
||||
@@ -120,11 +120,15 @@ filterwarnings = [
|
||||
]
|
||||
addopts = "-ra --strict-markers"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["unshackle"]
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
include = [
|
||||
"unshackle",
|
||||
"CHANGELOG.md",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
@@ -138,6 +142,7 @@ line-length = 120
|
||||
select = ["E4", "E7", "E9", "F", "W"]
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
line_length = 118
|
||||
|
||||
[tool.mypy]
|
||||
@@ -161,4 +166,3 @@ skips = [
|
||||
|
||||
[tool.uv.sources]
|
||||
unshackle = { workspace = true }
|
||||
subby = { git = "https://github.com/vevv/subby.git", rev = "a057280f31acd3a0ba5c6dc69eaefbb88aea974e" }
|
||||
|
||||
Reference in New Issue
Block a user