We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a9177c commit b242f31Copy full SHA for b242f31
gitlint/ncs.py
@@ -46,7 +46,11 @@ def validate(self, commit):
46
commit.message.title):
47
return [RuleViolation(self.id, 'Invalid mergeup commit title')]
48
elif tag == 'fromlist':
49
- regex = r'^Upstream PR: https://github\.com/.*/pull/\d+'
+ regex = r'^Upstream PR: (' \
50
+ 'https://github\.com/.*/pull/\d+|' \
51
+ 'http://lists.infradead.org/pipermail/hostap/.*\.html' \
52
+ ')'
53
+
54
matches = re.findall(regex, '\n'.join(commit.message.body), re.MULTILINE)
55
if len(matches) == 0:
56
return [RuleViolation(self.id,
0 commit comments