mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Upgrade to newest mypy package
This commit is contained in:
parent
dfe893a894
commit
b2d8803545
@ -43,7 +43,7 @@ install:
|
|||||||
- pip install -U pip setuptools
|
- pip install -U pip setuptools
|
||||||
- pip install docutils==$DOCUTILS
|
- pip install docutils==$DOCUTILS
|
||||||
- pip install -r test-reqs.txt
|
- 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:
|
script:
|
||||||
- flake8
|
- flake8
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make style-check type-check test-async; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make style-check type-check test-async; fi
|
||||||
|
3
mypy.ini
3
mypy.ini
@ -1,6 +1,7 @@
|
|||||||
[mypy]
|
[mypy]
|
||||||
python_version = 2.7
|
python_version = 2.7
|
||||||
silent_imports = True
|
ignore_missing_imports = True
|
||||||
|
follow_imports = skip
|
||||||
fast_parser = True
|
fast_parser = True
|
||||||
incremental = True
|
incremental = True
|
||||||
check_untyped_defs = True
|
check_untyped_defs = True
|
||||||
|
Loading…
Reference in New Issue
Block a user