diff --git a/.github/workflows/stubtest-unused-whitelist.yml b/.github/workflows/stubtest-unused-whitelist.yml index 26bc6f383..f2ca2473d 100644 --- a/.github/workflows/stubtest-unused-whitelist.yml +++ b/.github/workflows/stubtest-unused-whitelist.yml @@ -24,7 +24,7 @@ jobs: - name: Install dependencies run: | python -m pip install -U pip - pip install -U mypy==0.790 + pip install -U git+git://github.com/python/mypy@af3c8be98f - name: Run stubtest shell: bash run: ./tests/stubtest_unused.py | tee stubtest-output-${{ matrix.os }}-${{ matrix.python-version }} || true diff --git a/tests/stubtest_unused.py b/tests/stubtest_unused.py index f960a9d45..a66f9d779 100755 --- a/tests/stubtest_unused.py +++ b/tests/stubtest_unused.py @@ -7,7 +7,7 @@ import os.path import subprocess import sys -_UNUSED_NOTE = "note: unused whitelist entry " +_UNUSED_NOTE = "note: unused allowlist entry " _WHITELIST_PATH = os.path.join("tests", "stubtest_whitelists")