mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Install types for mypy
This commit is contained in:
parent
e692415637
commit
a82dcb712a
5
.github/workflows/upload-pypi-source.yml
vendored
5
.github/workflows/upload-pypi-source.yml
vendored
@ -48,6 +48,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
python -m pip install pytest flake8 mypy
|
python -m pip install pytest flake8 mypy
|
||||||
|
mypy --cache-dir=/tmp/mypy_cache --install-types
|
||||||
|
|
||||||
- name: Lint source with flake8
|
- name: Lint source with flake8
|
||||||
run: |
|
run: |
|
||||||
@ -55,8 +56,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint source with mypy
|
- name: Lint source with mypy
|
||||||
run: |
|
run: |
|
||||||
mypy --exclude config.py tests
|
mypy --cache-dir=/tmp/mypy_cache --exclude config.py tests
|
||||||
mypy chia
|
mypy --cache-dir=/tmp/mypy_cache chia
|
||||||
|
|
||||||
- name: Build source distribution
|
- name: Build source distribution
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user