diff options
| author | Stephanie <104656459+StephanieAG@users.noreply.github.com> | 2026-06-28 09:40:00 -0400 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-07-16 16:15:59 -0400 |
| commit | 274df4df0bca7fcfb5c1c1d49567f770df147eeb (patch) | |
| tree | ffae661343fcc6e3515e0b9ebecec8e52c2c1bfd /scripts/pr_quality/errors.py | |
| parent | ad289c1de4c39cc2b35748dc7a5ac84c7cbdf10a (diff) | |
Fixed #37093 -- Clarified pull request instructions and adjusted error messages.
The intention is to reduce the perceived harshness of error messages so
that they look more like just a friendly list of things in your PR to
fix, especially for new contributors.
Diffstat (limited to 'scripts/pr_quality/errors.py')
| -rw-r--r-- | scripts/pr_quality/errors.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/pr_quality/errors.py b/scripts/pr_quality/errors.py index cd41612da3..eb75b556f5 100644 --- a/scripts/pr_quality/errors.py +++ b/scripts/pr_quality/errors.py @@ -5,7 +5,7 @@ str.format() placeholders; kwargs are supplied at Message() construction time. """ -LEVEL_ERROR = ("🛑", "Error") +LEVEL_ERROR = ("❗", "Error") LEVEL_WARNING = ("⚠️", "Warning") @@ -112,9 +112,7 @@ MISSING_AI_DISCLOSURE = ( MISSING_DESCRIPTION = ( "Missing PR Description", - "Your PR description must be substantive and meaningful. The placeholder text " - '"*Provide a concise overview of the issue or rationale behind the proposed ' - 'changes.*" is not acceptable.\n\n' + "Your PR description must be substantive and meaningful.\n\n" "**What to do:**\n\n" "Write a description that contains at least 5 words and addresses:\n\n" "- What problem does this PR solve?\n" |
