MCPcopy
hub / github.com/cjolowicz/cookiecutter-hypermodern-python / format_dependency

Function format_dependency

tools/dependencies-table.py:25–27  ·  view source on GitHub ↗

Format the dependency for the table.

(dependency: str)

Source from the content-addressed store, hash-verified

23
24
25def format_dependency(dependency: str) -> str:
26 """Format the dependency for the table."""
27 return "coverage__" if dependency == "coverage" else f"{dependency}_"
28
29
30def main() -> None:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected