BSD Ports

devel/py-usort 1.0.8.post1 DragonFly

Small, safe import sorter

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
74.9 KiB, 515.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/py-usort1.0.8.post1
FreeBSDdevel/py-usort1.1.3
HardenedBSDdevel/py-usort1.1.3
GhostBSDdevel/py-usort1.0.8.post1

Install

Binary package:

pkg install py311-usort

From DPorts:

cd /usr/dports/devel/py-usort && make install clean

Dependencies

Run dependencies 8
Required by 1