MCPcopy
hub / github.com/PyGithub/PyGithub / SortFileWorker

Class SortFileWorker

scripts/sort_class.py:210–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208
209
210class SortFileWorker:
211 def __init__(self, dry_run: bool, locks: dict[str, multiprocessing.Lock]):
212 self.dry_run = dry_run
213 self.locks = locks
214
215 def sort(self, class_name_and_file: tuple[str, str]):
216 class_name, filename = class_name_and_file
217 sort_class(class_name, filename, self.dry_run, self.locks)
218
219
220def main(index_filename: str, class_names: list[str], dry_run: bool):

Callers 1

mainFunction · 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…