Skip to content

Commit dc11a0e

Browse files
authored
Update pending_user_response.py to fix lintrunner
1 parent ab5b2fa commit dc11a0e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pending_user_response.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,19 @@ def main():
4747

4848
if not auto_comments:
4949
if (
50-
last_comment
50+
last_comment
5151
and (now - last_comment.created_at).days >= DAYS_BEFORE_REMINDER
5252
):
5353
user = issue.user.login
54-
print(
55-
f"[VALIDATION] Would remind {user} on issue/PR #{issue.number}"
56-
)
57-
54+
print(f"[VALIDATION] Would remind {user} on issue/PR #{issue.number}")
5855
elif auto_comments and not recent_auto_reminder:
5956
# Only post new reminder if last was > REMINDER_COOLDOWN_DAYS ago
6057
last_auto = auto_comments[-1]
6158
user = issue.user.login
6259
if (now - last_auto.created_at).days >= REMINDER_COOLDOWN_DAYS:
63-
print(f"[VALIDATION] Would remind {user} again on issue/PR #{issue.number}")
60+
print(
61+
f"[VALIDATION] Would remind {user} again on issue/PR #{issue.number}"
62+
)
6463

6564
# ---- EXISTING CLOSE/REMOVE LABEL LOGIC ----
6665
if auto_comments:

0 commit comments

Comments
 (0)