MCPcopy Create free account
hub / github.com/python/mypy / set_file_ignored_lines

Method set_file_ignored_lines

mypy/errors.py:565–570  ·  view source on GitHub ↗
(
        self, file: str, ignored_lines: dict[int, list[str]], ignore_all: bool = False
    )

Source from the content-addressed store, hash-verified

563 self.options = options
564
565 def set_file_ignored_lines(
566 self, file: str, ignored_lines: dict[int, list[str]], ignore_all: bool = False
567 ) -> None:
568 self.ignored_lines[file] = ignored_lines
569 if ignore_all:
570 self.ignored_files.add(file)
571
572 def set_skipped_lines(self, file: str, skipped_lines: set[int]) -> None:
573 self.skipped_lines[file] = skipped_lines

Callers 4

failMethod · 0.80
setup_errorsMethod · 0.80
module_not_foundFunction · 0.80
reprocess_nodesFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected