8000 stubsabot: warn if stubtest is skipped in CI (for real this time) (#9… · python/typeshed@efa1048 · GitHub
[go: up one dir, main page]

Skip to content

Commit efa1048

Browse files
authored
stubsabot: warn if stubtest is skipped in CI (for real this time) (#9133)
Fixes a bug in #8681. The logic currently is broken; there should have been a warning message in the PR body for #9118, but there wasn't.
1 parent 4f381af commit efa1048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/stubsabot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def get_update_pr_body(update: Update, metadata: dict[str, Any]) -> str:
578578 if update.diff_analysis is not None:
579579
body += f"\n\n{update.diff_analysis}"
580580

581-
stubtest_will_run = not metadata.get("stubtest", {}).get("skip", False)
581+
stubtest_will_run = not metadata.get("tool", {}).get("stubtest", {}).get("skip", False)
582582
if stubtest_will_run:
583583
body += textwrap.dedent(
584584
"""

0 commit comments

Comments
 (0)
0