diff --git a/.github/workflows/stubtest-unused-whitelist.yml b/.github/workflows/stubtest-unused-whitelist.yml index 26bc6f383e27..f2ca2473d624 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 f960a9d45d7e..a66f9d77930b 100755 --- a/tests/stubtest_unused.py +++ b/tests/stubtest_unused.py @@ -7,7 +7,7 @@ import subprocess import sys -_UNUSED_NOTE = "note: unused whitelist entry " +_UNUSED_NOTE = "note: unused allowlist entry " _WHITELIST_PATH = os.path.join("tests", "stubtest_whitelists")