MCPcopy
hub / github.com/sphinx-doc/sphinx / FakeEvents

Class FakeEvents

tests/test_ext_autodoc/autodoc_util.py:22–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22class FakeEvents(EventManager):
23 def __init__(self) -> None:
24 super().__init__(SimpleNamespace(pdb=False)) # type: ignore[arg-type]
25
26 self.add('autodoc-before-process-signature')
27 self.add('autodoc-process-docstring')
28 self.add('autodoc-process-signature')
29 self.add('autodoc-skip-member')
30 self.add('autodoc-process-bases')
31 self.add('object-description-transform')
32
33 def connect(
34 self, name: str, callback: Callable[..., Any], priority: int = 500
35 ) -> int:
36 return super().connect(name, callback, priority)
37
38
39def do_autodoc(

Callers 13

test_process_docstringFunction · 0.90
test_cut_linesFunction · 0.90
test_betweenFunction · 0.90
test_between_excludeFunction · 0.90
test_skip_module_memberFunction · 0.90
format_sigFunction · 0.90
_assert_getter_worksFunction · 0.90
test_class_aliasFunction · 0.90

Calls

no outgoing calls

Tested by 12

test_process_docstringFunction · 0.72
test_cut_linesFunction · 0.72
test_betweenFunction · 0.72
test_between_excludeFunction · 0.72
test_skip_module_memberFunction · 0.72
format_sigFunction · 0.72
_assert_getter_worksFunction · 0.72
test_class_aliasFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…