API

class asort.api.ASort
static process_path(path: str) list[Path]

given a path, recursively sort the __all__lists of all found python files if the path is a directory, otherwise, just sort the given file at the path

Parameters:

path – the path to sort from

Returns:

the files that were fixed