Install types for mypy

This commit is contained in:
Adam Kelly 2021-06-08 18:16:43 -07:00
parent e692415637
commit a82dcb712a
2 changed files with 4 additions and 2 deletions

View File

@ -48,6 +48,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install pytest flake8 mypy
mypy --cache-dir=/tmp/mypy_cache --install-types
- name: Lint source with flake8
run: |
@ -55,8 +56,8 @@ jobs:
- name: Lint source with mypy
run: |
mypy --exclude config.py tests
mypy chia
mypy --cache-dir=/tmp/mypy_cache --exclude config.py tests
mypy --cache-dir=/tmp/mypy_cache chia
- name: Build source distribution
run: |

View File

@ -1,5 +1,6 @@
[mypy]
ignore_missing_imports = True
incremental = True
[mypy - lib]
ignore_errors = True