isort Changelog

What's new in isort 3.9.6

Feb 6, 2015
  • Fixed inconsistent ordering of imports when sorting from imports case-insensitively
  • Fixed comments not being placed correctly, when more then one exists above an import

New in isort 3.9.5 (Feb 6, 2015)

  • Fixed a problem that caused the comments at the top of a file to sometimes get mangled or removed.
  • Fixed a problem that occurred when imports had the word "from" or "import" in them.
  • Improved how import sections are determined when running isort within a virtualenv.
  • Added support for displaying from imports before normal ones using 'from_first' setting.
  • Added support for separately specifying wrap_length from line length limit.
  • Added support for adding trailing commas automatically.

New in isort 3.9.4 (Dec 30, 2014)

  • Adds automatic support for keeping comments that are placed directly above straight or from imports.

New in isort 3.9.3 (Dec 27, 2014)

  • Improves granularity of placement control.
  • Deprecates --lines option, replaces with --line-width

New in isort 1.3.2 (Sep 17, 2013)

  • Fixed a bug that caused an extra new line at the end of files when parsed using stdin
  • Improved module placement detection

New in isort 1.3.1 (Sep 16, 2013)

  • Added support for parsing files with unicode characters
  • Fallback to distutils when setuptools is not present

New in isort 1.3.0 (Sep 14, 2013)

  • Correctly handle imports at the end of a file
  • Correctly identify modules from . as from within the local project
  • Fixed a bug where code in the middle of imports was sometimes removed
  • Enable isort to be used without configparser

New in isort 1.2.5 (Sep 12, 2013)

  • Switch to Setup tools
  • Fix bug where files in "skip" setting don't get skipped

New in isort 1.2.3 (Sep 9, 2013)

  • Fix issue: writing to wrong output files