Skip to content

Commit d39a54b

Browse files
committed
Add a better description to the Resolution lint check
1 parent dc35bc4 commit d39a54b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ repos:
220220
types: [text]
221221

222222
- id: validate-resolution
223-
name: "'Resolution' must be a direct thread/message URL"
223+
name: "'Resolution' must be a direct thread/message URL and the final header"
224224
language: pygrep
225225
entry: '(?<!\n\n)(?<=\n)Resolution: (?:(?!https://((discuss\.python\.org/t/([\w\-]+/)?\d+(/\d+)?/?)|(mail\.python\.org/pipermail/[\w\-]+/\d{4}-[A-Za-z]+/[A-Za-z0-9]+\.html)|(mail\.python\.org/archives/list/[\w\-]+@python\.org/(message|thread)/[A-Za-z0-9]+/?(#[A-Za-z0-9]+)?))\n(?=\n)))'
226226
args: ['--multiline']

0 commit comments

Comments
 (0)