GitShow/facebook/usort
facebook

usort

Safe, minimal import sorting for Python projects.

by facebook
Star on GitHubForkWebsite

Python

205 stars23 forks13 contributorsQuiet · 4mo agoSince 2020v1.1.0MIT

Meet the team

See all 13 on GitHub →
amyreese
amyreese244 contributions
dependabot[bot]Bot
dependabot[bot]128 contributions
thatch
thatch61 contributions
maggiemoss
maggiemoss21 contributions
zsol
zsol8 contributions
bowiechen
bowiechen4 contributions
loren-arthur
loren-arthur4 contributions
fried
fried3 contributions

Languages

View on GitHub →
Python99%
Makefile0.7%
Shell0.3%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
75
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · Last activity 4mo ago
See all on GitHub →
thatch
Modernize: uv, new emails, no pessimistOpenPR

Pessimist depends on a prerelease version of honesty, and I doubt anyone is adding new deps to usort anymore.

thatch · 2mo ago
thatch
Fix AND→OR guards in SortableImport{Item}.__add__OpenPR

Both guards used , so they only raised when both fields mismatched simultaneously. + (same name, different asname) and + (same sort_key, different stem) silently succeeded. Change to so either mismatch raises. Add three regression tests that target each of the two previously-dead raise sites.

thatch · 2mo ago
thatch
Fix Result.trace: capture traceback at the exception siteOpenPR

sys.exc_info() always returned (None, None, None) inside __attrs_post_init__ because the except clause had already exited by the time Result was constructed. Move traceback capture to each except block in api.py using e.__traceback__, and remove the now-dead __attrs_post_init__ from Result (along with the sys/traceback imports that were only needed for it).

thatch · 2mo ago
Structured data for AI agents

Repository: facebook/usort. Description: Safe, minimal import sorting for Python projects. Stars: 205, Forks: 23. Primary language: Python. Languages: Python (99%), Makefile (0.7%), Shell (0.3%). License: MIT. Homepage: https://usort.readthedocs.io Latest release: v1.1.0 (7mo ago). Open PRs: 15, open issues: 13. Last activity: 4mo ago. Community health: 75%. Top contributors: amyreese, dependabot[bot], thatch, maggiemoss, zsol, bowiechen, loren-arthur, fried, facebook-github-bot, Bobronium and others.

·@ofershap

Replace github.com with gitshow.dev