mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-12 12:05:07 +00:00
refactor(types): bring mypy to zero errors across unshackle
Fix the bugs the type errors exposed (RnetSession.send body, HLS proxy session, title cache fallback, mux progress) and gate mypy in pre-commit, warn-only in CI.
This commit is contained in:
@@ -35,6 +35,11 @@ jobs:
|
||||
run: uv run ruff format --check .
|
||||
- name: Import order
|
||||
run: uv run isort --check-only unshackle tests --skip-glob "*/services/*"
|
||||
- name: Type check
|
||||
run: |
|
||||
out=$(uv run mypy unshackle) || true
|
||||
echo "$out"
|
||||
echo "$out" | sed -nE 's/^([^:]+):([0-9]+): error: (.*)$/::warning file=\1,line=\2::\3/p'
|
||||
|
||||
test:
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user