Settings

Theme

Show HN: ASort – Python Utility For Sorting __all__ lists

github.com

2 points by cpendery 4 years ago · 0 comments · 1 min read

Reader

I got tired of having to keep my __all__ lists sorted in python by hand as it helps keep them more readable so I made this to do it for me. If you aren't familiar with __all__ lists, here is a good post explaining them https://stackoverflow.com/questions/44834/what-does-all-mean...

Has support for pre-commit along with cli and python api usage. Shoutout to the isort project which was this inspiration for asort's api and name. It works with black automatically.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection