| 208 | |
| 209 | |
| 210 | class 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 | |
| 220 | def main(index_filename: str, class_names: list[str], dry_run: bool): |
no outgoing calls
no test coverage detected
searching dependent graphs…