Path 1: 215 calls (0.67)

'\n' (146) ' """\r\n' (5) '\r\n' (3) '"""\n' (2) ' """\n' (2) ' File "/usr/lib/python2.4/site-packages/pylint/lint.py", line 511, in astroid_ev...

2 (49) 1 (49) 3 (26) 4 (12) 6 (7) 5 (4) 9 (3) 7 (3) 10 (3) 12 (2)

False (190) True (25)

1def check_line_length(self, line: str, i: int, checker_off: bool) -> None:
2        """Check that the line length is less than the authorized value."""
3        max_chars = self.linter.config.max_line_length
4        ignore_long_line = self.linter.config.ignore_long_lines
5        line = line.rstrip()
6        if len(line) > max_chars and not ignore_long_line.search(line):
7            if checker_off:
8                self.linter.add_ignored_message("line-too-long", i)
9            else:
10                self.add_message("line-too-long", line=i, args=(len(line), max_chars))
            

Path 2: 99 calls (0.31)

'def func1(arg1: List[int], /, *args: List[int], arg2: set[int], **kwargs: Dict[str, int]) -> typing.Tuple[int]:\n' (3) 'class CustomImplementation(Cu...

99 (3) 24 (3) 38 (3) 72 (3) 3 (3) 14 (3) 5 (3) 2 (3) 27 (2) 4 (2)

False (99)

1def check_line_length(self, line: str, i: int, checker_off: bool) -> None:
2        """Check that the line length is less than the authorized value."""
3        max_chars = self.linter.config.max_line_length
4        ignore_long_line = self.linter.config.ignore_long_lines
5        line = line.rstrip()
6        if len(line) > max_chars and not ignore_long_line.search(line):
7            if checker_off:
8                self.linter.add_ignored_message("line-too-long", i)
9            else:
10                self.add_message("line-too-long", line=i, args=(len(line), max_chars))
            

Path 3: 6 calls (0.02)

' aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcc...

42 (1) 51 (1) 53 (1) 77 (1) 12 (1) 1 (1)

True (6)

1def check_line_length(self, line: str, i: int, checker_off: bool) -> None:
2        """Check that the line length is less than the authorized value."""
3        max_chars = self.linter.config.max_line_length
4        ignore_long_line = self.linter.config.ignore_long_lines
5        line = line.rstrip()
6        if len(line) > max_chars and not ignore_long_line.search(line):
7            if checker_off:
8                self.linter.add_ignored_message("line-too-long", i)
9            else:
10                self.add_message("line-too-long", line=i, args=(len(line), max_chars))