MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / yaml_dump

Function yaml_dump

pre_commit/yaml.py:14–19  ·  view source on GitHub ↗
(o: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

12
13
14def yaml_dump(o: Any, **kwargs: Any) -> str:
15 # when python/mypy#1484 is solved, this can be `functools.partial`
16 return yaml.dump(
17 o, Dumper=Dumper, default_flow_style=False, indent=4, sort_keys=False,
18 **kwargs,
19 )

Callers 6

_original_linesFunction · 0.90
_write_new_configFunction · 0.90
try_repoFunction · 0.90
modify_manifestFunction · 0.90
modify_configFunction · 0.90
write_configFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected