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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-usort | 1.0.8.post1 |
| FreeBSD | devel/py-usort | 1.1.3 |
| HardenedBSD | devel/py-usort | 1.1.3 |
| GhostBSD | devel/py-usort | 1.0.8.post1 |
Install
Binary package:
pkg install py311-usort
From DPorts:
cd /usr/dports/devel/py-usort && make install clean