Lines Matching +full:in +full:- +full:line
8 name = "body-max-line-length-with-exceptions"
11 options_spec = [IntOption("line-length", 80, "Max line length")]
12 line_length_violation_message = """Line exceeds max length ({0}>{1}).
14 1. Put logs or shell script in a quoted section with triple quotes (''')
16 2. Put a long link at the bottom in a footnote.
18 Line that was too long:
20 tabs_violation_message = "Line contains hard tab characters (\\t)"
24 for line in commit.message.body:
25 # allow a quoted string to be over the line limit
27 line.startswith("'''")
28 or line.startswith('"""')
29 or line.startswith("```")
36 if "\t" in line:
38 RuleViolation(self.id, self.tabs_violation_message, line)
43 ret = re.match(r"^\[\d+\]:? ", line)
47 # allow signed-off-by
48 if line.startswith("Signed-off-by:"):
52 if line.startswith("Fixes:"):
55 max_length = self.options["line-length"].value
56 if len(line) > max_length:
61 len(line), max_length
63 line,