Skip to content

Releases: PyCQA/isort

4.0.0

21 Sep 20:54
Compare
Choose a tag to compare
4.0.0

3.9.6

06 Feb 04:47
Compare
Choose a tag to compare
  • 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

3.9.5

05 Feb 22:27
Compare
Choose a tag to compare
  • 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.

3.9.4

29 Dec 21:34
Compare
Choose a tag to compare
  • Adds automatic support for keeping comments that are placed directly above straight or from imports.

3.9.3

25 Dec 06:35
Compare
Choose a tag to compare
  • Improves granularity of placement control.
  • Deprecates --lines option, replaces with --line-width

3.9.2

22 Dec 15:08
Compare
Choose a tag to compare
  • Improved wrapping on long lines, to avoid splitting module name
  • Add support for custom placement of import sections
  • Fixed bug with imports that contain a tag

1.3.2

16 Sep 23:43
Compare
Choose a tag to compare
  • Fixed a bug that caused an extra new line at the end of files when parsed using stdin
  • Improved module placement detection

Both improvements come thanks to @dcowgill

1.3.1

15 Sep 02:59
Compare
Choose a tag to compare
  • Added support for parsing files with unicode characters
  • Fallback to distutils when setuptools is not present

1.3.0

14 Sep 02:37
Compare
Choose a tag to compare
  • 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

1.2.5

11 Sep 21:48
Compare
Choose a tag to compare
  • Switch to Setup tools
  • Fix bug where files in "skip" setting don't get skipped