This repository has been archived by the owner on Aug 8, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.2.15
->==5.3.2
Release Notes
timothycrosley/isort
v5.3.2
Compare Source
v5.3.1
Compare Source
v5.3.0
Compare Source
Internal Development:
v5.2.2
Compare Source
v5.2.1
Compare Source
skip
config usage.--color
.v5.2.0
Compare Source
filter_files
can now be set in the config option.multi_line_output
mode for more compact formatting (Thanks @sztamas!)# isort: split
can now be used at the end of an import line.--diff
works incorrectly with files that have CRLF line endings.v5.1.4
Compare Source
show_unified_diff
function.v5.1.3
Compare Source
v5.1.2
Compare Source
v5.1.1
Compare Source
-n
&--fss
.--diff
broken when reading from standard input.v5.1.0
Compare Source
-k
or--keep-direct-and-as-imports
option has been deprecated as it is now always on.Formatting changes implied:
v5.0.9
Compare Source
v5.0.8
Compare Source
v5.0.7
Compare Source
v5.0.6
Compare Source
sre_parse
as a stdlib module.v5.0.5
Compare Source
.pyi
files from CLI using black profile.--add-imports
alongside--check
is broken.ensure_newline_before_comments
doesnt work withforce_sort_within_sections
.to upgrade docs.
v5.0.4
Compare Source
force_sort_within_sections
config optionv5.0.3
Compare Source
v5.0.2
Compare Source
v5.0.1
Compare Source
v5.0.0
Compare Source
Breaking changes:
Python 2 code.
not_skip
) are no longer required and have been removed.ac
foratomic
) now require two dashes to avoid ambiguity:--ac
.-v
now is shorthand for verbose and-V
is shorthand for version. See Issue: #1067.length_sort_{section_name}
config usage has been deprecated. Insteadlength_sort_sections
list can be used to specify a list of sections that need to be length sorted.safety_excludes
andunsafe
have been deprecated--recursive
option has been removed. Directories passed in are now automatically sorted recursive.--apply
option has been removed as it is the default behaviour.--interactive
flag has been added to enable the old style behaviour.isort now formats all nested "as" imports in the "from" form.NOTE: This was undone in version 5.1.0 due to feedback it caused issues with some project conventions.import x.y as a
becomesfrom x import y as a
.keep_direct_and_as_imports
option now defaults toTrue
.appdirs
is no longer supported. Unless manually specified, config should be project config only.toml
is now installed as a vendorized module, meaning pyproject.toml based config is always supported.--old-finders
.Internal:
isort now utilizes mypy and typing to filter out typing related issues before deployment.
isort now utilizes black internally to ensure more consistent formatting.
profile support for common project types (black, django, google, etc)
Much much more. There is some difficulty in fully capturing the extent of changes in this release - just because of how all encompassing the release is. See: Github Issues for more.
v4.3.21
Compare Source
v4.3.20
Compare Source
v4.3.19
Compare Source
black
outputv4.3.18
Compare Source
--filter-files
)v4.3.17
Compare Source
v4.3.16
Compare Source
user
from known standard library as it's no longer in any supported Python version.v4.3.15
Compare Source
v4.3.14
Compare Source
v4.3.13
Compare Source
v4.3.12
Compare Source
v4.3.11
Compare Source
v4.3.10
Compare Source
v4.3.9
Compare Source
v4.3.8
Compare Source
v4.3.7
Compare Source
v4.3.6
Compare Source
v4.3.5
Compare Source
This is the final Python 2.x release of isort, and includes the following major changes:
Potentially Interface Breaking:
-r
option for removing imports has been renamed-rm
to avoid accidental deletions and confusion with the-rc
recursive option.__init__.py
has been removed from the default ignore list. The default ignore list is now empty - with all items needing to be explicitly ignored.distutils
support has been removed to simplify setup.pyNew:
correctly_sorted
property on the SortsImport to enable more intuitive programmatic checking.Fixes:
v4.3.4
Compare Source
v4.3.3
Compare Source
v4.3.2
Compare Source
v4.3.1
Compare Source
black
outputv4.3.0
Compare Source
force_alphabetical_sort
andforce_sort_within_sections
can now be utilized together without extra new lines--no-lines-before
for more granular control over section outputas
mucks with alphabetical sorting--version-number
to retrieve just the version number without the isort logoRenovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.