mlx icon indicating copy to clipboard operation
mlx copied to clipboard

Rearrange Python functions and classes in a logical order

Open NripeshN opened this issue 1 year ago • 0 comments

Proposed changes

I have sorted all the Python functions and classes alphabetically/logically for better readability. I am developing a pre-commit hook that will automatically arrange function/classes. This is the repo link https://github.com/NripeshN/fsort. I have not included it in the pre-commit.yaml file yet cause it is still a little broken and I still had to make some manual changes before this PR.

Checklist

Put an x in the boxes that apply.

  • [x] I have read the CONTRIBUTING document
  • [x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have updated the necessary documentation (if needed)

NripeshN avatar Jan 05 '24 22:01 NripeshN