Skip to content

Commit 2b4ff82

Browse files
committed
[tests] pin mypy version to 0.782
Otherwise it fails with: src/aiortc/mediastreams.py:22: error: No overload variant of "int" matches argument type "Fraction" src/aiortc/mediastreams.py:22: note: Possible overload variant: src/aiortc/mediastreams.py:22: note: def __init__(self, x: Union[str, bytes, SupportsInt, _SupportsIndex] = ...) -> int src/aiortc/mediastreams.py:22: note: <1 more non-matching overload not shown> See: python/mypy#9588
1 parent 1e1f6fb commit 2b4ff82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
python-version: 3.7
1414
- name: Install packages
15-
run: pip install black flake8 isort mypy
15+
run: pip install black flake8 isort mypy==0.782
1616
- name: Run linters
1717
run: |
1818
flake8 examples src tests

0 commit comments

Comments
 (0)