Lines Matching refs:line
129 def issue_with_line(self, line, filepath, line_number): argument
136 def check_file_line(self, filepath, line, line_number): argument
137 if self.issue_with_line(line, filepath, line_number):
146 for i, line in enumerate(iter(f.readline, b"")):
147 self.check_file_line(filepath, line, i + 1)
268 def issue_with_line(self, line, _filepath, line_number): argument
270 text = line.decode('utf-8')
290 def issue_with_line(self, line, _filepath, _line_number): argument
291 return b"\r" in line
304 def issue_with_line(self, line, _filepath, _line_number): argument
305 return not line.endswith(b"\r\n") or b"\r" in line[:-2]
314 def issue_with_line(self, line, _filepath, _line_number): argument
315 return line.rstrip(b"\r\n") != line.rstrip()
332 def issue_with_line(self, line, _filepath, _line_number): argument
333 return b"\t" in line
342 def issue_with_line(self, line, _filepath, _line_number): argument
344 if line.startswith(b'<<<<<<< ') or line.startswith(b'>>>>>>> '):
346 if line.startswith(b'||||||| '): # from merge.conflictStyle=diff3
348 if line.rstrip(b'\r\n') == b'=======' and \
411 def issue_with_line(self, line, filepath, line_number): argument
425 m = self.COPYRIGHT_RE.match(line)
430 m = self.SPDX_RE.match(line)
442 m = self.LICENSE_MENTION_RE.match(line)