Skip to content

Commit efe3935

Browse files
author
Thomas Preud'homme
committed
Install future to run mypy on Python 3
LNT uses future which does not come in standard in recent Python 3 versions, leading to mypy failing in Python 3 mode. Adding an explicit dependency on future solves the problem. Reviewed By: tnfchris Differential Revision: https://reviews.llvm.org/D112148
1 parent 87eb031 commit efe3935

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ skip_install = true
1919
deps =
2020
mypy >= 0.910
2121
sqlalchemy-stubs
22+
future
2223
commands =
2324
# No where close to passing yet, but nice to have.
2425
- mypy --install-types --non-interactive --junit-xml=junit-{envname}.xml --py2 --ignore-missing-imports lnt

0 commit comments

Comments
 (0)