Skip to content

Commit

Permalink
Pin mypy and typed-ast to fix the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PCManticore committed Sep 30, 2019
1 parent aa587ec commit 6198797
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ severity of the warnings and errors.
.. _pychecker: http://pychecker.sf.net
.. _pyflakes: https://github.com/pyflakes/pyflakes
.. _flake8: https://gitlab.com/pycqa/flake8/
.. _mypy: https://github.com/JukkaL/mypy
.. _mypy: https://github.com/python/mypy
.. _`PEP 8`: https://www.python.org/dev/peps/pep-0008/
.. _`Guido's style guide`: https://www.python.org/doc/essays/styleguide/
.. _`refactoring book`: https://www.refactoring.com/
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ changedir = {toxinidir}
[testenv:mypy]
basepython = python3
deps =
mypy
typed-ast>=1.4
mypy>=0.7,<1.0

commands =
python -m mypy {toxinidir}/pylint/checkers --ignore-missing-imports
python -m mypy {toxinidir}/pylint/checkers --ignore-missing-imports {posargs:}

[testenv]
deps =
Expand Down

0 comments on commit 6198797

Please sign in to comment.