MCPcopy Index your code
hub / github.com/python/mypy / generate_ignore_without_code_notes

Method generate_ignore_without_code_notes

mypy/build.py:3706–3712  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3704 self.manager.errors.generate_unused_ignore_errors(self.xpath, is_typeshed)
3705
3706 def generate_ignore_without_code_notes(self) -> None:
3707 if self.manager.errors.is_error_code_enabled(codes.IGNORE_WITHOUT_CODE):
3708 is_typeshed = self.tree is not None and self.tree.is_typeshed_file(self.options)
3709 with self.wrap_context():
3710 self.manager.errors.generate_ignore_without_code_errors(
3711 self.xpath, self.options.warn_unused_ignores, is_typeshed
3712 )
3713
3714
3715# Module import and diagnostic glue

Callers 3

process_stale_sccFunction · 0.80
update_module_isolatedFunction · 0.80

Calls 4

wrap_contextMethod · 0.95
is_error_code_enabledMethod · 0.80
is_typeshed_fileMethod · 0.80

Tested by

no test coverage detected