Skip to content

Releases: PyCQA/isort

5.4.2

15 Aug 03:14
Compare
Choose a tag to compare

5.4.2 Aug 14, 2020

  • Fixed #1383: Known other does not work anymore with .editorconfig.
  • Fixed: Regression in first known party path expansion.

5.4.1

13 Aug 08:24
Compare
Choose a tag to compare

5.4.1 [Hotfix] Aug 13, 2020

  • Fixed #1381: --combine-as loses # noqa in different circumstances.

5.4.0

13 Aug 03:48
Compare
Choose a tag to compare

5.4.0 Aug 12, 2020

  • Implemented #1373: support for length sort only of direct (AKA straight) imports.
  • Fixed #1321: --combine-as loses # noqa.
  • Fixed #1375: --dont-order-by-type CLI broken.

5.3.2

07 Aug 08:23
Compare
Choose a tag to compare

5.3.2 [Hotfix] Aug 7, 2020

  • Fixed incorrect warning code (W503->W0503).

5.3.1

07 Aug 07:58
Compare
Choose a tag to compare

5.3.1 Aug 7, 2020

  • Improve upgrade warnings to be less noisy and point to error codes for easy interoperability with Visual Studio Code (see: #1363).

5.3.0

05 Aug 05:40
Compare
Choose a tag to compare

5.3.0 Aug 4, 2020

  • Implemented ability to treat all or select comments as code (issue #1357)
  • Implemented ability to use different configs for different file extensions (issue #1162)
  • Implemented ability to specify the types of imports (issue #1181)
  • Implemented ability to dedup import headings (issue #953)
  • Added experimental support for sorting literals (issue #1358)
  • Added experimental support for sorting and deduping groupings of assignments.
  • Improved handling of deprecated single line variables for usage with Visual Studio Code (issue #1363)
  • Improved handling of mixed newline forms within same source file.
  • Improved error handling for known sections.
  • Improved API consistency, returning a boolean value for all modification API calls to indicate if changes were made.
  • Fixed #1366: spurious errors when combining skip with --gitignore.
  • Fixed #1359: --skip-gitignore does not honor ignored symlink

Internal Development:

  • Initial hypothesmith powered test to help catch unexpected syntax parsing and output errors (thanks @Zac-HD!)

5.2.2

30 Jul 08:32
Compare
Choose a tag to compare

5.2.2 July 30, 2020

  • Fixed #1356: return status when arguments are passed in without files or a content stream.

5.2.1

29 Jul 05:56
Compare
Choose a tag to compare

5.2.1 July 28, 2020

  • Update precommit to default to filtering files that are defined in skip.
  • Improved relative path detection for skip config usage.
  • Added recursive symbolic link protection.
  • Implemented #1177: Support for color output using --color.
  • Implemented recursive symlink detection support.

5.2.0

27 Jul 09:10
Compare
Choose a tag to compare

5.2.0 July 27, 2020

  • Implemented #1335: Official API for diff capturing.
  • Implemented #1331: Warn when sections don't match up.
  • Implemented #1261: By popular demand, filter_files can now be set in the config option.
  • Implemented #960: Support for respecting git ignore via "--gitignore" or "skip_gitignore=True".
  • Implemented #727: Ability to only add imports if existing imports exist.
  • Implemented #970: Support for custom sharable isort profiles.
  • Implemented #1214: Added support for git_hook lazy option (Thanks @sztamas!)
  • Implemented #941: Added an additional multi_line_output mode for more compact formatting (Thanks @sztamas!)
  • Implemented #1020: Option for LOCALFOLDER.
  • Implemented #1353: Added support for output formatting plugins.
  • # isort: split can now be used at the end of an import line.
  • Fixed #1339: Extra indent is not preserved when isort:skip is used in nested imports.
  • Fixed #1348: --diff works incorrectly with files that have CRLF line endings.
  • Improved code repositories usage of pylint tags (#1350).

5.1.4

20 Jul 04:18
Compare
Choose a tag to compare

5.1.4 July 19, 2020

  • Fixed issue #1333: Use of wrap_length raises an exception about it not being lower or equal to line_length.
  • Fixed issue #1330: Ensure stdout can be stubbed dynamically for show_unified_diff function.