You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/pull_request_template.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,20 @@ Please explain the issue and the solution in short.
40
40
Please list clearly what are the relevant test(s) that can safeguard the changes in the PR. This helps us to ensure we have sufficient test coverage for the PR.
41
41
-->
42
42
43
+
## PR Checklist
44
+
45
+
Please review the following before submitting your PR:
46
+
- PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.
47
+
- PR Follows [TRT-LLM CODING GUIDELINES](https://github.com/NVIDIA/TensorRT-LLM/blob/main/CODING_GUIDELINES.md) to the best of your knowledge.
48
+
- Test cases are provided for new code paths (see [test instructions](https://github.com/NVIDIA/TensorRT-LLM/tree/main/tests#1-how-does-the-ci-work))
49
+
- Any new dependencies have been scanned for license and vulnerabilities
50
+
-[CODEOWNERS](https://github.com/NVIDIA/TensorRT-LLM/blob/main/.github/CODEOWNERS) updated if ownership changes
51
+
- Documentation updated as needed
52
+
- The reviewers assigned automatically/manually are appropriate for the PR.
53
+
54
+
55
+
-[ ] Please check this after reviewing the above items as appropriate for this PR.
returnFalse, "Missing '## PR Checklist' header. Please ensure you haven't removed the PR template section."
71
+
72
+
# Check if the final checkbox exists (the one users must check)
73
+
final_checkbox_pattern=re.compile(
74
+
r'^\s*[-*]\s+\[( |x|X)\]\s+Please check this after reviewing the above items',
75
+
re.MULTILINE)
76
+
ifnotfinal_checkbox_pattern.search(pr_body):
77
+
returnFalse, "Missing the required final checkbox '- [ ] Please check this after reviewing the above items as appropriate for this PR.' Please ensure you haven't removed this from the PR template."
0 commit comments