isort Changelog

What's new in isort 3.6.1

Feb 25, 2014
  • This version adds support for Emacs and ensures inline comments placed on import lines follow the pep8 style guidelines.

New in isort 3.6.0 (Feb 22, 2014)

  • This version adds support for nested comments within import definitions and fixes an issue with setting configuration options to False.

New in isort 3.4.1 (Feb 10, 2014)

  • Support for ordering by the type of data being imported has been added.

New in isort 3.3.0 (Jan 29, 2014)

  • This version adds support for setup.cfg-based configuration and skipping entire directories.

New in isort 3.2.0 (Jan 25, 2014)

  • This version adds support for running recursively, dynamic settings lookup, enabling kate-plugin to correctly determine settings when sorting (independent of where it's started), and support for Windows.

New in isort 3.1.2 (Jan 20, 2014)

  • Fixed a crash when parsing from a path with Unicode characters in Python 2

New in isort 3.1.1 (Jan 8, 2014)

  • This version fixes placement of additional imports when no imports existed previously within the file.

New in isort 3.1.0 (Jan 6, 2014)

  • This version adds support for intelligently-balanced multi-line wrapping and fixes an issue which caused section comments to show up more than once.

New in isort 3.0.0 (Jan 4, 2014)

  • Adds support for editorconfig (http://editorconfig.org/)
  • Adds support for consistent syntax when adding or removing imports
  • Improves handling of files that a user doesn't have permission to read
  • Adds the ability to separate import sections with custom comments

New in isort 2.6.3 (Dec 16, 2013)

  • Fixes extra spaces before certain multi-line import statements.

New in isort 2.6.2 (Dec 10, 2013)

  • Improves the configuration mechanism for setting custom indent modes, fixing bug with quotes ending up in the output.

New in isort 2.6.1 (Dec 7, 2013)

  • This version fixes an issue with sorting imports from standard input and adds full documentation to the pypi page.

New in isort 2.6.0 (Dec 2, 2013)

  • Adds support for forcing all imports to be on their own line

New in isort 2.5.0 (Nov 14, 2013)

  • Added support for changing which section imports default to when it cannot be auto determined.
  • Added ability to generate a diff of changes by append "--diff" to the isort command.
  • The handling of settings files has been improved.

New in isort 2.3.0 (Oct 28, 2013)

  • Keeps current selection after sorting, adding, or removing imports.
  • Puts explicitly local (aka . imports) in their own separate section.
  • Adds support for skipping an entire file by adding isort:skip_file to the modules docstring.
  • Adds support for project level configuration.
  • Adds initial support for using isort to verify files instead of changing them.

New in isort 2.2.0 (Oct 21, 2013)

  • Improves module grouping detection.
  • Adds two additional multi-line output modes (Vertical Grid and Vertical Grid Grouped).

New in isort 2.1.0 (Oct 17, 2013)

  • Forces exactly one new line at the end of all parsed files.
  • The Kate plugin now keeps cursor position even when imports are added or removed.
  • Works correctly with the "import as" statement.
  • Hooks have been added to the SortImports class to allow plugins to to know how many lines have been added, in order to support retaining cursor position.

New in isort 2.0.1 (Oct 8, 2013)

  • This version added support for writing output to stdout with the -d argument, and the ability to get the version number using -v in addition to --version.

New in isort 1.3.0 (Sep 14, 2013)

  • This version correctly handles 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, and makes it possible for isort to be used without configparser.

New in isort 1.2.5 (Sep 12, 2013)

  • Fixes a bug where files in the skip setting wouldn't be skipped.
  • Switches to using setuptools.