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

Method get_base_class_hook

mypy/plugin.py:910–911  ·  view source on GitHub ↗
(self, fullname: str)

Source from the content-addressed store, hash-verified

908 return self._find_hook(lambda plugin: plugin.get_metaclass_hook(fullname))
909
910 def get_base_class_hook(self, fullname: str) -> Callable[[ClassDefContext], None] | None:
911 return self._find_hook(lambda plugin: plugin.get_base_class_hook(fullname))
912
913 def get_customize_class_mro_hook(
914 self, fullname: str

Callers

nothing calls this directly

Calls 2

_find_hookMethod · 0.95
get_base_class_hookMethod · 0.45

Tested by

no test coverage detected