Skip to content

Commit 1fe7468

Browse files
committed
Use mypy developemnt build
1 parent 25e4c30 commit 1fe7468

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,11 @@ jobs:
2727
- run: |
2828
python3 -m pip install --upgrade pip
2929
python3 -m pip install tox tox-gh-actions
30+
31+
pushd /tmp
32+
git clone https://github.com/python/mypy
33+
pushd mypy
34+
python -m pip install --upgrade .
35+
popd
36+
popd
3037
- run: tox

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ commands =
1717
[testenv:mypy]
1818
basepython = python3
1919
deps =
20-
mypy >= 0.971
20+
mypy >= 0.990+dev.d619c783d4713a13083a1a6e8020075948baceb2
2121
commands =
22-
mypy --install-types --non-interactive -p bencodex
22+
mypy --install-types --non-interactive -p bencodex --enable-recursive-aliases
2323

2424
[flake8]
2525
exclude =

0 commit comments

Comments
 (0)