Skip to content

Commit 3543e66

Browse files
committed
CI: Only run mypy when using cpython
Otherwise, travis fails the pypy build.
1 parent a54b9f6 commit 3543e66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ check_changes:
3030
./tools/check_changes.py
3131

3232
mypy: .flake
33-
@mypy aiosignal
33+
if python -c "import sys; sys.exit(sys.implementation.name!='cpython')"; then \
34+
mypy aiosignal; \
35+
fi
3436

3537
.develop: .install-deps $(shell find aiosignal -type f) .flake check_changes mypy
3638
# pip install -e .

0 commit comments

Comments
 (0)