MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / StandardHeader

Class StandardHeader

scripts/fix_headers.py:123–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122
123class StandardHeader:
124 def fix(self, filename, lines):
125 newLines = []
126
127 for line in generateLicenseSection(filename):
128 newLines.append(line)
129
130 bodyLines = extractBodyLines(lines)
131
132 if len(bodyLines) > 0 and bodyLines[0] != "":
133 newLines.append("")
134 newLines += bodyLines
135
136 return newLines
137
138
139def findHeadersAndFiles():

Callers 1

findHeadersAndFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…