pypi isort 5.6.0

latest releases: 5.13.2, 5.13.1, 5.13.0...
3 years ago

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.

Don't miss a new isort release

NewReleases is sending notifications on new releases.