Lines Matching refs:line
69 for line in commit.message.body:
70 if line.lower().startswith("signed-off-by"):
71 … if not re.search(r"(^)Signed-off-by: ([-'\w.]+) ([-'\w.]+) (.*)", line, flags=flags):
84 def validate(self, line, _commit): argument
86 if len(line) > max_length and not line.startswith("Revert"):
87 … return [RuleViolation(self.id, self.violation_message.format(len(line), max_length), line)]
109 def validate(self, line, _commit): argument
111 …re.findall(r'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+', line)
112 if line.lower().startswith('signed-off-by') or line.lower().startswith('co-authored-by'):
118 if len(line) > max_length:
119 … return [RuleViolation(self.id, self.violation_message.format(len(line), max_length), line)]
127 def validate(self, line, _commit): argument
130 if re.search(rf"^\s*{tag}:", line, flags=flags):