FreeBSD.software
Home/devel/py311-usort

py311-usort

1.0.8.post1devel

Small, safe import sorter

usort is a safe, minimal import sorter. Its primary goal is to make no "dangerous" changes to code. This is achieved by detecting distinct "blocks" of imports that are the most likely to be safely interchangeable, and only reordering imports within these blocks without altering formatting. Code style is left as an exercise for linters and formatters.

$pkg install py311-usort
usort.readthedocs.io/en/stable
Origin
devel/py-usort
Size
516KiB
License
MIT
Maintainer
sunpoet@FreeBSD.org
Dependencies
8 packages
Required by
1 packages

Dependencies (8)

Required By (1)