in usort/types.py [0:0]
def add_import(self, imp: SortableImport, idx: int) -> None:
self.end_idx = idx + 1
self.imports.append(imp)
for key, value in imp.imported_names.items():
self.imported_names[key] = value