fix(deps): update dependency isort to v5 #52
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.3
->^5.0.0
Release Notes
pycqa/isort (isort)
v5.13.2
Compare Source
v5.13.1
Compare Source
v5.13.0
Compare Source
v5.12.0
Compare Source
v5.11.5
Compare Source
v5.11.4
Compare Source
v5.11.3
Compare Source
v5.11.2
Compare Source
v5.11.1
Compare Source
colorama.init
ifcolorama
is available (#2032) @tomaarsenv5.11.0
Compare Source
black
compatibility for.pyi
files @XuehaiPanblack
, plus three settings. (#1926) @mauritsvanreeslines_before_imports
appending lines after comments (#1861) @legaumulti_line_output = 3
from "Compatibility with black" (#1858) @jdufresnev5.10.1
Compare Source
v5.10.0
Compare Source
tomli
for pyproject.toml configuration loader.Potentially breaking changes:
_ast
module incorrectly excluded from stdlib definition.v5.9.3
Compare Source
--from-first
CLI flag shouldn't take any arguments.v5.9.2
Compare Source
isort --check --atomic
against Cython files.__init__.py
files during placement.v5.9.1
Compare Source
v5.9.0
Compare Source
__pypackages__
directories by default.Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
v5.8.0
Compare Source
-j
) now defaults to number of CPU cores if no value is provided.--overwrite-in-place
to ensure same file handle is used after sorting.--extend-skip
and--extend-skip-glob
.v5.7.0
Compare Source
isort.file
.v5.6.4
Compare Source
v5.6.3
Compare Source
v5.6.2
Compare Source
Goal Zero: (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
v5.6.1
Compare Source
v5.6.0
Compare Source
.pxd
files.isort . --show-files
.Potentially breaking changes:
Goal Zero: (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
v5.5.5
Compare Source
v5.5.4
Compare Source
v5.5.3
Compare Source
yield from
orraise from
statements.v5.5.2
Compare Source
v5.5.1
Compare Source
v5.5.0
Compare Source
combine_star
is set.Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
Potentially breaking changes:
ERROR:
messages for files that contain incorrect imports within stdout you will now need to look in stderr.v5.4.2
Compare Source
v5.4.1
Compare Source
v5.4.0
Compare Source
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.import x.y as a
becomesfrom x import y as a
.~~ NOTE: This was undone in version 5.1.0 due to feedback it caused issues with some project conventions.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.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 was generated by Mend Renovate. View the repository job log.