MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / clean_config

Function clean_config

codeclash/utils/generate_confs.py:92–102  ·  view source on GitHub ↗
(config_path: str)

Source from the content-addressed store, hash-verified

90
91
92def clean_config(config_path: str):
93 # Post-process to remove quotes around include paths
94 with open(config_path) as f:
95 content = f.read()
96
97 # Remove quotes around include paths
98 content = content.replace("!include 'mini/", "!include mini/")
99 content = content.replace(".yaml'", ".yaml")
100
101 with open(config_path, "w") as f:
102 f.write(content)
103
104
105def get_name(p):

Callers 3

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected