Wed, 18 Nov 2026 17:06:52 UTC Log in
A small, safe import sorter 112.92 KB built 2026-10-17 14:42:20 GMT

Description

μsort is a safe, minimal import sorter. Its primary goal is to make no "dangerous" changes to code, and to make no changes on code style. 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.

Dependencies

28 total
Requires26
  • (python3dist(tomli) if python3-devel < 3.11)
  • (python3dist(trailrunner) < 2~~ with python3dist(trailrunner) >= 1)
  • make
  • pyproject-rpm-macros
  • python3-devel
  • python3-devel
  • python3-docs
  • python3dist(attrs) >= 21.2
  • python3dist(click) >= 7
  • python3dist(hatch-vcs)
  • python3dist(hatchling)
  • python3dist(libcst) >= 0.3.7
  • python3dist(moreorless) >= 0.3
  • python3dist(packaging)
  • python3dist(pip) >= 19
  • python3dist(pytest)
  • python3dist(sphinx) >= 5.3.0
  • python3dist(sphinx-mdinclude) >= 0.5.3
  • python3dist(stdlibs) >= 2021.4.1
  • python3dist(volatile)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(RichDependencies) <= 4.12.0-1
  • rpmlib(TildeInVersions) <= 4.10.0-1
  • sed
Provides2
  • python-usort-doc = 1.1.3-4.fc45
  • python3-usort = 1.1.3-4.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots