MCPcopy Create free account
hub / github.com/cginternals/globjects / BeautifyCode

Function BeautifyCode

source/tests/googletest/googletest/scripts/pump.py:814–820  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

812
813
814def BeautifyCode(string):
815 lines = string.splitlines()
816 output = []
817 for line in lines:
818 WrapLongLine(line, output)
819 output2 = [line.rstrip() for line in output]
820 return '\n'.join(output2) + '\n'
821
822
823def ConvertFromPumpSource(src_text):

Callers 1

ConvertFromPumpSourceFunction · 0.85

Calls 1

WrapLongLineFunction · 0.85

Tested by

no test coverage detected