Skip to content

Commit 67a0479

Browse files
PR Checker should check PR Link for DeveloperFixed
1 parent 38ba753 commit 67a0479

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

format_checker/pr_checker.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ def check_status_consistency(filename, row, i, log):
118118
else:
119119
check_pr_link(filename, row, i, log)
120120

121+
if row["Status"] == "DeveloperFixed":
122+
# Should contain either no PR Link or a valid one
123+
if not row["PR Link"] == "":
124+
check_pr_link(filename, row, i, log)
125+
121126
if row["Status"] == "" and row["PR Link"] != "":
122127
check_pr_link(filename, row, i, log)
123128
log_std_error(filename, log, i, row, "Status should not be empty when a PR link is provided.")

0 commit comments

Comments
 (0)