@@ -114,16 +114,35 @@ section subject
114114#guard_msgs in
115115#check_title "feat: bad title."
116116
117- /-- info: Message: 'error: the PR subject should be lowercased' -/
117+ /-- info: Message: 'error: the PR subject `My Bad Title` should be lowercased' -/
118118#guard_msgs in
119119#check_title "feat: My Bad Title"
120120-- Starting with an acronym is fine, however.
121121#guard_msgs in
122122#check_title "feat: RPC acronyms are fine"
123+ #guard_msgs in #check_title "feat: `ℕ` is countable"
124+ -- We also allow a `s`, `'s` or `'ed` suffix, as manual heuristic.
125+ #guard_msgs in #check_title "feat: RPCs are yellow"
126+ #guard_msgs in #check_title "chore: LLMs require adjusting our policies"
127+ #guard_msgs in #check_title "chore: PR'ed lemmas"
128+ #guard_msgs in #check_title "feat(CI): PR's to be deleted"
129+ #guard_msgs in #check_title "chore: FCP'ed decisions should be listed separately"
130+ -- We only remove at most one suffix.
131+ /-- info: Message: 'error: the PR subject `PR'ed's lemmas` should be lowercased' -/
132+ #guard_msgs in #check_title "chore: PR'ed's lemmas"
133+ /-- info: Message: 'error: the PR subject `PRs's something` should be lowercased' -/
134+ #guard_msgs in #check_title "chore: PRs's something"
135+ -- This is not quite an abbreviation (and a grammar error).
136+ /--
137+ info: Message: 'error: the PR subject `FCPed decisions should be listed separately` should be lowercased'
138+ -/
139+ #guard_msgs in #check_title "chore: FCPed decisions should be listed separately"
123140
124141-- This PR title is arguably not very bad (Lindelöf is a proper name),
125142-- a better fix is to start with a verb (which you should do anyway.)
126- /-- info: Message: 'error: the PR subject should be lowercased' -/
143+ /--
144+ info: Message: 'error: the PR subject `Lindelöf spaces something something` should be lowercased'
145+ -/
127146#guard_msgs in
128147#check_title "feat: Lindelöf spaces something something"
129148
@@ -196,13 +215,13 @@ info: Message: 'error: the PR title contains multiple consecutive spaces; please
196215#guard_msgs in
197216#check_title "feat(ModuleForm): 2e is less than 6"
198217
199- /-- info: Message: 'error: the PR subject should be lowercased' -/
218+ /-- info: Message: 'error: the PR subject `W3c` should be lowercased' -/
200219#guard_msgs in
201220#check_title "feat(ModuleForm): W3c"
202221
203222#guard_msgs in
204223#check_title "feat(ModuleForm): W3C"
205224
206- /-- info: Message: 'error: the PR subject should be lowercased' -/
225+ /-- info: Message: 'error: the PR subject `A new lemma` should be lowercased' -/
207226#guard_msgs in
208227#check_title "feat(ModuleForm): A new lemma"
0 commit comments