loco-lab / HackProjects

Place to keep ideas and results from side hack projects
MIT License
0 stars 0 forks source link

script to auto-sort functions in a module #13

Open adampbeardsley opened 4 years ago

adampbeardsley commented 4 years ago

Right now we're reordering all the functions in pyuvdata so functions are referenced before they're defined. Could make a script to do this... and even make a hook that requires the order is sound before merging...

steven-murray commented 4 years ago

You got it the wrong way around. But yeah, this should be easily do-able, and could be a Github bot as well.

adampbeardsley commented 4 years ago

yeah yeah yeah