Skip to content

Releases: PyCQA/isort

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.

5.1.3

19 Jul 03:44
Compare
Choose a tag to compare

5.1.3 July 18, 2020

  • Fixed issue #1329: Fix comments duplicated when --fass option is set.

5.1.2

18 Jul 03:42
Compare
Choose a tag to compare

5.1.2 July 17, 2020

  • Fixed issue #1219 / #1326: Comments not wrapped for long lines
  • Fixed issue #1156: Bug related to isort:skip usage followed by a multiline comment block

5.1.1

16 Jul 05:43
Compare
Choose a tag to compare

5.1.1 July 15, 2020

  • Fixed issue #1322: Occasionally two extra newlines before comment with -n & --fss.
  • Fixed issue #1189: --diff broken when reading from standard input.

5.1.0

15 Jul 05:19
Compare
Choose a tag to compare

5.1.0 July 14, 2020

  • isort now throws an exception if an invalid settings path is given (issue #1174).
  • Implemented support for automatic redundant alias removal (issue #1281).
  • Implemented experimental support for floating all imports to the top of a file (issue #1228)
  • Fixed #1178: support for semicolons in decorators.
  • Fixed #1315: Extra newline before comment with -n + --fss.
  • Fixed #1192: -k or --keep-direct-and-as-imports option has been deprecated as it is now always on.

Formatting changes implied:

  • Fixed #1280: rewrite of as imports changes the behavior of the imports.

5.0.9

14 Jul 04:44
Compare
Choose a tag to compare
  • Fixed #1301: Import headings in nested sections leads to check errors

5.0.8

11 Jul 08:20
Compare
Choose a tag to compare
  • Fixed #1277 & #1278: New line detection issues on Windows.
  • Fixed #1294: Fix bundled git hook.

5.0.7

10 Jul 04:33
Compare
Choose a tag to compare
  • Fixed #1306: unexpected --diff behavior.
  • Fixed #1279: Fixed NOQA comment regression.

5.0.6

09 Jul 06:07
Compare
Choose a tag to compare
  • Fixed #1302: comments and --trailing-comma can generate invalid code.
  • Fixed #1293: extra new line in indented imports, when immediately followed by a comment.
  • Fixed #1304: isort 5 no longer recognises sre_parse as a stdlib module.
  • Fixed #1300: add_imports moves comments following import section.
  • Fixed #1276: Fix a bug that creates only one line after triple quotes.