We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Resolution
1 parent dc35bc4 commit d39a54bCopy full SHA for d39a54b
.pre-commit-config.yaml
@@ -220,7 +220,7 @@ repos:
220
types: [text]
221
222
- id: validate-resolution
223
- name: "'Resolution' must be a direct thread/message URL"
+ name: "'Resolution' must be a direct thread/message URL and the final header"
224
language: pygrep
225
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)))'
226
args: ['--multiline']
0 commit comments