Bump isort from 4.3.21 to 5.0.5
Created by: dependabot-preview[bot]
Bumps isort from 4.3.21 to 5.0.5.
Release notes
Sourced from isort's releases.
5.0.5 July 7, 2020
- Fixed #1285: packaging issue with bundling tests via poetry.
- Fixed #1284: Regression when sorting
.pyi
files from CLI using black profile.- Fixed #1275 & #1283: Blank line after docstring removed.
- Fixed #1298: CLI Help out of date with isort 5.
- Fixed #1290: Unecessary blank lines above nested imports when import comments turned on.
- Fixed #1297: Usage of
--add-imports
alongside--check
is broken.- Fixed #1289: Stream usage no longer auto picking up config file from current working directory.
- Fixed #1296: Force_single_line setting removes immediately following comment line.
- Fixed #1295:
ensure_newline_before_comments
doesnt work withforce_sort_within_sections
.- Setting not_skip will no longer immediately fail but instead give user a warning and direct to upgrade docs.
5.0.4
No release notes provided.
5.0.3 - July 4, 2020
- Fixed setup.py command incorrectly passing check=True as a configuration parameter (see: timothycrosley/isort#1258)
- Fixed missing patch version
- Fixed issue #1253: Atomic fails when passed in not readable output stream
5.0.2
Ensure completeness of black profile, adding default line_length
5.0.1
No release notes provided.
5.0.0
https://timothycrosley.github.io/isort/docs/major_releases/introducing_isort_5/
4.3.21-2
4.3.21 - June 25, 2019 - hot fix release
- Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax
Changelog
Sourced from isort's changelog.
5.0.5 July 7, 2020
- Fixed #1285: packaging issue with bundling tests via poetry.
- Fixed #1284: Regression when sorting
.pyi
files from CLI using black profile.- Fixed #1275 & #1283: Blank line after docstring removed.
- Fixed #1298: CLI Help out of date with isort 5.
- Fixed #1290: Unecessary blank lines above nested imports when import comments turned on.
- Fixed #1297: Usage of
--add-imports
alongside--check
is broken.- Fixed #1289: Stream usage no longer auto picking up config file from current working directory.
- Fixed #1296: Force_single_line setting removes immediately following comment line.
- Fixed #1295:
ensure_newline_before_comments
doesnt work withforce_sort_within_sections
.- Setting not_skip will no longer immediately fail but instead give user a warning and direct to upgrade docs.
5.0.4 July 6, 2020
- Fixed #1264: a regression with comment handling and
force_sort_within_sections
config option- Added warning for deprecated CLI flags and linked to upgrade guide.
5.0.3 - July 4, 2020
- Fixed setup.py command incorrectly passing check=True as a configuration parameter (see: timothycrosley/isort#1258)
- Fixed missing patch version
- Fixed issue #1253: Atomic fails when passed in not readable output stream
5.0.2 - July 4, 2020
- Ensured black profile was complete, adding missing line_length definition.
5.0.1 - July 4, 2020
- Fixed a runtime error in a vendored dependency (toml).
5.0.0 Penny - July 4, 2020
Breaking changes:
- isort now requires Python 3.6+ to run but continues to support formatting on ALL versions of python including Python 2 code.
- isort deprecates official support for Python 3.4, removing modules only in this release from known_standard_library:
- user
- Config files are no longer composed on-top of each-other. Instead the first config file found is used.
- Since there is no longer composition negative form settings (such as --dont-skip or it's config file variant
not_skip
) are no longer required and have been removed.- Two-letter shortened setting names (like
ac
foratomic
) now require two dashes to avoid ambiguity:--ac
.- For consistency with other tools
-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- Config now includes as default full set of safety directories defined by safety excludes.
--recursive
option has been removed. Directories passed in are now automatically sorted recursive.--apply
option has been removed as it is the default behaviour.- isort now does nothing, beyond giving instructions and exiting status code 0, when ran with no arguments.
- a new
--interactive
flag has been added to enable the old style behaviour.- isort now works on contiguous sections of imports, instead of one whole file at a time.
- isort now formats all nested "as" imports in the "from" form.
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.
Commits
-
25f2b5c
Bump version to 5.0.5 -
078f371
Warn instead of failing on not_skip setting -
d4ce124
Fixed #1295: doesnt work with . -
65e0a3f
Fixed #1296: Force_single_line setting removes immediately following comment ... -
1685beb
Add test for issue #1293 -
4eb7352
Add regression test for issue #1277 -
c0ebbd0
Fixed #1289: Stream usage no longer auto picking up config file from current ... -
9ce5f74
Fixed #1297: Usage of alongside is broken. -
a35e464
Fixed #1290: Unecessary blank lines above nested imports when import comments... -
bff46f3
Fix issue #1298: CLI help out of date - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)