Releases: PyCQA/isort
Releases · PyCQA/isort
5.2.2
5.2.1
5.2.1 July 28, 2020
- Update precommit to default to filtering files that are defined in skip.
- Improved relative path detection for
skipconfig usage. - Added recursive symbolic link protection.
- Implemented #1177: Support for color output using
--color. - Implemented recursive symlink detection support.
5.2.0
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_filescan 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_outputmode for more compact formatting (Thanks @sztamas!) - Implemented #1020: Option for LOCALFOLDER.
- Implemented #1353: Added support for output formatting plugins.
# isort: splitcan 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:
--diffworks incorrectly with files that have CRLF line endings. - Improved code repositories usage of pylint tags (#1350).
5.1.4
5.1.3
5.1.2
5.1.1
5.1.0
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:
-kor--keep-direct-and-as-importsoption has been deprecated as it is now always on.
Formatting changes implied:
- Fixed #1280: rewrite of as imports changes the behavior of the imports.