in usort/types.py [0:0]
def __repr__(self) -> str:
imports = indent("\n".join(f"{imp!r}," for imp in self.imports), " ")
return (
dedent(
"""
SortableBlock(
start_idx = {start_idx!r},
end_idx = {end_idx!r},
imports = [
{imports}
],
imported_names = {imported_names!r},
)
"""
)
.strip()
.format(
start_idx=self.start_idx,
end_idx=self.end_idx,
imports=imports,
imported_names=self.imported_names,
)
)