mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-02-15 01:47:06 +00:00
try to fix mypy
This commit is contained in:
parent
4bace14110
commit
2107e6ef6f
4
.github/workflows/mypy.yaml
vendored
4
.github/workflows/mypy.yaml
vendored
@ -20,9 +20,9 @@ jobs:
|
||||
- name: Install deps
|
||||
run: pip3 install -U tornado pytest pytest-asyncio pytest-httpbin flaky structlog tomli aiohttp httpx mypy awesomeversion
|
||||
- name: Run mypy for --install-types
|
||||
run: PATH=$HOME/.local/bin:$PATH mypy nvchecker nvchecker_source tests
|
||||
run: PATH=$HOME/.local/bin:$PATH mypy --namespace-packages --explicit-package-bases nvchecker nvchecker_source tests
|
||||
continue-on-error: true
|
||||
- name: Install types
|
||||
run: PATH=$HOME/.local/bin:$PATH yes | mypy --install-types
|
||||
- name: Run mypy
|
||||
run: PATH=$HOME/.local/bin:$PATH mypy nvchecker nvchecker_source tests
|
||||
run: PATH=$HOME/.local/bin:$PATH mypy --namespace-packages --explicit-package-bases nvchecker nvchecker_source tests
|
||||
|
Loading…
Reference in New Issue
Block a user