Fix resolution field validator
This commit is contained in:
parent
06858cd621
commit
cf5b6b1649
|
@ -72,7 +72,7 @@ repos:
|
|||
- id: validate-resolution
|
||||
name: "Validate PEP Resolution field"
|
||||
language: pygrep
|
||||
entry: '(?<!\n\n)^Resolution: (?:(?!https:\/\/\S*\n))'
|
||||
entry: '(?<!\n\n)^Resolution: (?:(?!(https:\/\/\S*|:pep:`[a-zA-Z\d \-<>#]*?`)\n))'
|
||||
args: ['--multiline']
|
||||
files: '^pep-\d+\.(rst|txt)$'
|
||||
types: [text]
|
||||
|
|
Loading…
Reference in New Issue