diff --git a/.travis.yml b/.travis.yml index d6006c43b..7a44b401e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ install: - pip install -U pip setuptools - pip install docutils==$DOCUTILS - pip install -r test-reqs.txt - - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then python3.6 -m pip install mypy-lang 'typed-ast<1.0'; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then python3.6 -m pip install mypy 'typed-ast<1.0'; fi script: - flake8 - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make style-check type-check test-async; fi diff --git a/mypy.ini b/mypy.ini index f7b58a613..8fbf24f30 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,6 +1,7 @@ [mypy] python_version = 2.7 -silent_imports = True +ignore_missing_imports = True +follow_imports = skip fast_parser = True incremental = True check_untyped_defs = True diff --git a/tox.ini b/tox.ini index ae802644b..3f3b9be0c 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ deps= [testenv:py35] deps= - mypy-lang + mypy typed_ast {[testenv]deps} commands=