Skip to content

Commit 3e89fd3

Browse files
committed
🔨 fix incorrect stubtest allowlist filename on python>=3.12
1 parent ac823db commit 3e89fd3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎tool/stubtest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
ALLOWLISTS = [
3333
".mypyignore.txt",
3434
".mypyignore-todo.txt",
35-
".mypyignore-gt312.txt" if sys.version_info >= (3, 12) else ".mypyignore-lt312.txt",
35+
".mypyignore-ge312.txt" if sys.version_info >= (3, 12) else ".mypyignore-lt312.txt",
3636
]
3737

3838

@@ -115,6 +115,9 @@ def main() -> int:
115115
"""
116116
__commit_pyi_genocide_for_mypy()
117117

118+
if VERBOSE:
119+
print(sys.version)
120+
118121
cmd = _stubtest_command()
119122
if VERBOSE and "--generate-allowlist" not in cmd:
120123
print(*cmd)

0 commit comments

Comments
 (0)