MCPcopy Create free account
hub / github.com/pytest-dev/pytest / plugin_definitions

Function plugin_definitions

scripts/update-plugin-list.py:103–116  ·  view source on GitHub ↗

Return RST for the plugin list that fits better on a vertical page.

(plugins)

Source from the content-addressed store, hash-verified

101
102
103def plugin_definitions(plugins):
104 """Return RST for the plugin list that fits better on a vertical page."""
105
106 for plugin in plugins:
107 yield dedent(
108 f"""
109 {plugin['name']}
110 *last release*: {plugin["last release"]},
111 *status*: {plugin["status"]},
112 *requires*: {plugin["requires"]}
113
114 {plugin["summary"]}
115 """
116 )
117
118
119def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected