Method: pylint.checkers.similar.LineSet.__init__
Calls: 1189, Exceptions: 0, Paths: 1Back
Path 1: 1189 calls (1.0)
'file_to_lint' (50) 'fail_under_plus7_5' (20) 'empty' (19) 'module' (16) 'subsubdirectory.module' (15) 'package' (13) 'package.module' (13) 'package.s...
[] (128) ['# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html\n', '# For details: https://github.com/PyCQA/pylint/blob/m...
True (1159) False (30)
True (1159) False (30)
True (1161) False (28)
True (1161) False (28)
_MessageStateHandler._is_one_message_enabled def (1157) None (32)
1def __init__(
2 self,
3 name: str,
4 lines: list[str],
5 ignore_comments: bool = False,
6 ignore_docstrings: bool = False,
7 ignore_imports: bool = False,
8 ignore_signatures: bool = False,
9 line_enabled_callback: Callable[[str, int], bool] | None = None,
10 ) -> None:
11 self.name = name
12 self._real_lines = lines
13 self._stripped_lines = stripped_lines(
14 lines,
15 ignore_comments,
16 ignore_docstrings,
17 ignore_imports,
18 ignore_signatures,
19 line_enabled_callback=line_enabled_callback,
20 )