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

Method dep_import_options

mypy/options.py:665–674  ·  view source on GitHub ↗

Return opaque bytes with options that can affect dependent modules as well. The value can be compared for equality to detect changed options.

(self)

Source from the content-addressed store, hash-verified

663 return self.platform, result
664
665 def dep_import_options(self) -> bytes:
666 """Return opaque bytes with options that can affect dependent modules as well.
667
668 The value can be compared for equality to detect changed options.
669 """
670 buf = WriteBuffer()
671 write_bool(buf, self.ignore_missing_imports)
672 write_str(buf, self.follow_imports)
673 write_bool(buf, self.follow_imports_for_stubs)
674 return buf.getvalue()

Callers 2

new_stateMethod · 0.80
load_graphFunction · 0.80

Calls 1

write_strFunction · 0.85

Tested by

no test coverage detected