From 2107e6ef6fed386ff4b4cd9522bdf5c96087c787 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Sun, 20 Nov 2022 14:14:33 +0800 Subject: [PATCH] try to fix mypy --- .github/workflows/mypy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index 4a70a98..83fc70d 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml @@ -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