in tooling/query-metrics-alerts/parse_analysis.py [0:0]
3 lines of code
1 McCabe index (conditional complexity)
def outputToYamlFile(data, filename):
# Write the results to a file
with open(filename, "w+") as f:
yaml.dump(data, f, indent=2, default_flow_style=False, sort_keys=False)