Thursday, March 3, 2016

Python - isort, useful tool for sorting python imports

I saw it in the django coding style documentation:

To make an entire project's imports easier to read, all you need to do is:

  • pip install isort
  • isort -rc .

There's also a sublime plugin for it here:

No comments:

Post a Comment