This repository was archived by the owner on Aug 8, 2020. It is now read-only.
Update dependency isort to v5 #101
Open
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.2Release Notes
timothycrosley/isort
v5.3.2Compare Source
v5.3.1Compare Source
v5.3.0Compare Source
Internal Development:
v5.2.2Compare Source
v5.2.1Compare Source
skipconfig usage.--color.v5.2.0Compare Source
filter_filescan now be set in the config option.multi_line_outputmode for more compact formatting (Thanks @sztamas!)# isort: splitcan now be used at the end of an import line.--diffworks incorrectly with files that have CRLF line endings.v5.1.4Compare Source
show_unified_difffunction.v5.1.3Compare Source
v5.1.2Compare Source
v5.1.1Compare Source
-n&--fss.--diffbroken when reading from standard input.v5.1.0Compare Source
-kor--keep-direct-and-as-importsoption has been deprecated as it is now always on.Formatting changes implied:
v5.0.9Compare Source
v5.0.8Compare Source
v5.0.7Compare Source
v5.0.6Compare Source
sre_parseas a stdlib module.v5.0.5Compare Source
.pyifiles from CLI using black profile.--add-importsalongside--checkis broken.ensure_newline_before_commentsdoesnt work withforce_sort_within_sections.to upgrade docs.
v5.0.4Compare Source
force_sort_within_sectionsconfig optionv5.0.3Compare Source
v5.0.2Compare Source
v5.0.1Compare Source
v5.0.0Compare Source
Breaking changes:
Python 2 code.
not_skip) are no longer required and have been removed.acforatomic) now require two dashes to avoid ambiguity:--ac.-vnow is shorthand for verbose and-Vis shorthand for version. See Issue: #1067.length_sort_{section_name}config usage has been deprecated. Insteadlength_sort_sectionslist can be used to specify a list of sections that need to be length sorted.safety_excludesandunsafehave been deprecated--recursiveoption has been removed. Directories passed in are now automatically sorted recursive.--applyoption has been removed as it is the default behaviour.--interactiveflag 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 abecomesfrom x import y as a.keep_direct_and_as_importsoption now defaults toTrue.appdirsis no longer supported. Unless manually specified, config should be project config only.tomlis 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.21Compare Source
v4.3.20Compare Source
v4.3.19Compare Source
blackoutputv4.3.18Compare Source
--filter-files)v4.3.17Compare Source
v4.3.16Compare Source
userfrom known standard library as it's no longer in any supported Python version.v4.3.15Compare Source
v4.3.14Compare Source
v4.3.13Compare Source
v4.3.12Compare Source
v4.3.11Compare Source
v4.3.10Compare Source
v4.3.9Compare Source
v4.3.8Compare Source
v4.3.7Compare Source
v4.3.6Compare Source
v4.3.5Compare Source
This is the final Python 2.x release of isort, and includes the following major changes:
Potentially Interface Breaking:
-roption for removing imports has been renamed-rmto avoid accidental deletions and confusion with the-rcrecursive option.__init__.pyhas been removed from the default ignore list. The default ignore list is now empty - with all items needing to be explicitly ignored.distutilssupport has been removed to simplify setup.pyNew:
correctly_sortedproperty on the SortsImport to enable more intuitive programmatic checking.Fixes:
v4.3.4Compare Source
v4.3.3Compare Source
v4.3.2Compare Source
v4.3.1Compare Source
blackoutputv4.3.0Compare Source
force_alphabetical_sortandforce_sort_within_sectionscan now be utilized together without extra new lines--no-lines-beforefor more granular control over section outputasmucks with alphabetical sorting--version-numberto 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.