Skip to content

Releases: PyCQA/isort

5.7.0

31 Dec 01:16
Compare
Choose a tag to compare

5.7.0 December 30th 2020

  • Fixed #1612: In rare circumstances an extra comma is added after import and before comment.
  • Fixed #1593: isort encounters bug in Python 3.6.0.
  • Implemented #1596: Provide ways for extension formatting and file paths to be specified when using streaming input from CLI.
  • Implemented #1583: Ability to output and diff within a single API call to isort.file.
  • Implemented #1562, #1592 & #1593: Better more useful fatal error messages.
  • Implemented #1575: Support for automatically fixing mixed indentation of import sections.
  • Implemented #1582: Added a CLI option for skipping symlinks.
  • Implemented #1603: Support for disabling float_to_top from the command line.
  • Implemented #1604: Allow toggling section comments on and off for indented import sections.

5.6.4

13 Oct 06:37
Compare
Choose a tag to compare

5.6.4 October 12, 2020

  • Fixed #1556: Empty line added between imports that should be skipped.

5.6.3

11 Oct 07:12
Compare
Choose a tag to compare

5.6.3 October 11, 2020

  • Improved packaging of test files alongside source distribution (see: #1555).

5.6.2

10 Oct 11:16
Compare
Choose a tag to compare

5.6.2 October 10, 2020

  • Fixed #1548: On rare occasions an unecessary empty line can be added when an import is marked as skipped.
  • Fixed #1542: Bug in VERTICAL_PREFIX_FROM_MODULE_IMPORT wrap mode.
  • Fixed #1552: Pylama test dependent on source layout.

5.6.1

08 Oct 12:21
Compare
Choose a tag to compare

5.6.1 [Hotfix] October 8, 2020

  • Fixed #1546: Unstable (non-idempotent) behavior with certain src trees.

5.6.0

08 Oct 06:53
Compare
Choose a tag to compare

5.6.0 October 7, 2020

  • Implemented #1433: Provide helpful feedback in case a custom config file is specified without a configuration.
  • Implemented #1494: Default to sorting imports within .pxd files.
  • Implemented #1502: Improved float-to-top behavior when there is an existing import section present at top-of-file.
  • Implemented #1511: Support for easily seeing all files isort will be ran against using isort . --show-files.
  • Implemented #1487: Improved handling of encoding errors.
  • Improved handling of unsupported configuration option errors (see #1475).
  • Fixed #1463: Better interactive documentation for future option.
  • Fixed #1461: Quiet config option not respected by file API in some circumstances.
  • Fixed #1482: pylama integration is not working correctly out-of-the-box.
  • Fixed #1492: --check does not work with stdin source.
  • Fixed #1499: isort gets confused by single line, multi-line style comments when using float-to-top.
  • Fixed #1525: Some warnings can't be disabled with --quiet.
  • Fixed #1523: in rare cases isort can ignore direct from import if as import is also on same line.

Potentially breaking changes:

  • Implemented #1540: Officially support Python 3.9 stdlib imports by default.
  • Fixed #1443: Incorrect third vs first party categorization - namespace packages.
  • Fixed #1486: "Google" profile is not quite Google style.
  • Fixed "PyCharm" profile to always add 2 lines to be consistent with what PyCharm "Optimize Imports" does.

Goal Zero: (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):

  • Implemented #1472: Full testing of stdin CLI Options
  • Added additional branch coverage.
  • More projects added to integration test suite.

5.5.5

08 Oct 04:50
Compare
Choose a tag to compare

5.5.5 [Hotfix] October 7, 2020

  • Fixed #1539: in extremely rare cases isort 5.5.4 introduces syntax error by removing closing paren.

5.5.4

30 Sep 04:33
Compare
Choose a tag to compare

5.5.4 [Hotfix] September 29, 2020

  • Fixed #1507: in rare cases isort changes the content of multiline strings after a yield statement.
  • Fixed #1505: Support case where known_SECTION points to a section not listed in sections.

5.5.3

20 Sep 22:51
Compare
Choose a tag to compare

5.5.3 [Hotfix] September 20, 2020

  • Fixed #1488: in rare cases isort can mangle yield from or raise from statements.

5.5.2

10 Sep 03:53
Compare
Choose a tag to compare

5.5.2 [Hotfix] September 9, 2020

  • Fixed #1469: --diff option is ignored when input is from stdin.