mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
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.
This commit is contained in:
1 parent
4f381af4c5
commit
efa1048d42
1 file changed
+1
-1
@@ -578,7 +578,7 @@ def get_update_pr_body(update: Update, metadata: dict[str, Any]) -> str:
|
||||
if update.diff_analysis is not None:
|
||||
body += f"\n\n{update.diff_analysis}"
|
||||
|
||||
stubtest_will_run = not metadata.get("stubtest", {}).get("skip", False)
|
||||
stubtest_will_run = not metadata.get("tool", {}).get("stubtest", {}).get("skip", False)
|
||||
if stubtest_will_run:
|
||||
body += textwrap.dedent(
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user