Show HN: ASort – Python Utility For Sorting __all__ lists (github.com)
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.
0 comments
[ 4.9 ms ] story [ 7.9 ms ] threadNo comments yet.