Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f13673

Browse files
authored
stubtest unused: match stubtest version, add fix (#4705)
In #4696 I bumped stubtest to a commit that hasn't been released. We should have these stubtest versions match. In python/mypy#9426 I changed the output of stubtest here; it's good to get this change in before I forget and this action silently stops working. Co-authored-by: hauntsaninja <>
1 parent 5dd444b commit 2f13673

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/stubtest-unused-whitelist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install -U pip
27-
pip install -U mypy==0.790
27+
pip install -U git+git://github.com/python/mypy@af3c8be98f
2828
- name: Run stubtest
2929
shell: bash
3030
run: ./tests/stubtest_unused.py | tee stubtest-output-${{ matrix.os }}-${{ matrix.python-version }} || true

tests/stubtest_unused.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import subprocess
88
import sys
99

10-
_UNUSED_NOTE = "note: unused whitelist entry "
10+
_UNUSED_NOTE = "note: unused allowlist entry "
1111
_WHITELIST_PATH = os.path.join("tests", "stubtest_whitelists")
1212

1313

0 commit comments

Comments
 (0)