topalias
topalias copied to clipboard
Bump isort from 5.7.0 to 5.10.1
Bumps isort from 5.7.0 to 5.10.1.
Release notes
Sourced from isort's releases.
5.10.1 November 8 2021
- Fixed #1819: Occasional inconsistency with multiple src paths.
- Fixed #1840: skip_file ignored when on the first docstring line
5.10.0
Implemented [#1796](https://github.com/pycqa/isort/issues/1796): Switch to tomli for pyproject.toml configuration loader. Fixed [#1801](https://github.com/pycqa/isort/issues/1801): CLI bug (--exend-skip-glob, overrides instead of extending). Fixed [#1802](https://github.com/pycqa/isort/issues/1802): respect PATH customization in nested calls to git. Fixed [#1838](https://github.com/pycqa/isort/issues/1838): Append only with certain code snippets incorrectly adds imports. Added official support for Python 3.105.9.3 July 28 2021
- Improved text of skipped file message to mention gitignore feature.
- Made all exceptions pickleable.
- Fixed #1779: Pylama integration ignores pylama specific isort config overrides.
- Fixed #1781:
--from-firstCLI flag shouldn't take any arguments.- Fixed #1792: Sorting literals sometimes ignored when placed on first few lines of file.
- Fixed #1777: extend_skip is not honored wit a git submodule when skip_gitignore=true.
5.9.2 July 8th 2021
- Improved behavior of
isort --check --atomicagainst Cython files.- Fixed #1769: Future imports added below assignments when no other imports present.
- Fixed #1772: skip-gitignore will check files not in the git repository.
- Fixed #1762: in some cases when skip-gitignore is set, isort fails to skip any files.
- Fixed #1767: Encoding issues surfacing when invalid characters set in
__init__.pyfiles during placement.- Fixed #1771: Improved handling of skips against named streamed in content.
5.9.1 June 21st 2021 [hotfix]
- Fixed #1758: projects with many files and skip_ignore set can lead to a command-line overload.
5.9.0 June 21st 2021
- Improved CLI startup time.
- Implemented #1697: Provisional support for PEP 582: skip
__pypackages__directories by default.- Implemented #1705: More intuitive handling of isort:skip_file comments on streams.
- Implemented #1737: Support for using action comments to avoid adding imports to individual files.
- Implemented #1750: Ability to customize output format lines.
- Implemented #1732: Support for custom sort functions.
- Implemented #1722: Improved behavior for running isort in atomic mode over Cython source files.
- Fixed (PyCQA/isort#1695): added imports being added to doc string in some cases.
- Fixed (PyCQA/isort#1714): in rare cases line continuation combined with tabs can output invalid code.
- Fixed (PyCQA/isort#1726): isort ignores reverse_sort when force_sort_within_sections is true.
- Fixed #1741: comments in hanging indent modes can lead to invalid code.
- Fixed #1744: repeat noqa comments dropped when * import and non * imports exist from the same package.
- Fixed #1721: repeat noqa comments on separate from lines with force-single-line set, sometimes get dropped.
5.8.0 March 20th 2021
- Fixed #1631: as import comments can in some cases be duplicated.
- Fixed #1667: extra newline added with float-to-top, after skip, in some cases.
- Fixed #1594: incorrect placement of noqa comments with multiple from imports.
- Fixed #1566: in some cases different length limits for dos based line endings.
... (truncated)
Changelog
Sourced from isort's changelog.
5.10.1 November 8 2021
- Fixed #1819: Occasional inconsistency with multiple src paths.
- Fixed #1840: skip_file ignored when on the first docstring line
5.10.0 November 3 2021
- Implemented #1796: Switch to
tomlifor pyproject.toml configuration loader.- Fixed #1801: CLI bug (--exend-skip-glob, overrides instead of extending).
- Fixed #1802: respect PATH customization in nested calls to git.
- Fixed #1838: Append only with certain code snippets incorrectly adds imports.
- Added official support for Python 3.10
Potentially breaking changes:
- Fixed #1785:
_astmodule incorrectly excluded from stdlib definition.5.9.3 July 28 2021
- Improved text of skipped file message to mention gitignore feature.
- Made all exceptions pickleable.
- Fixed #1779: Pylama integration ignores pylama specific isort config overrides.
- Fixed #1781:
--from-firstCLI flag shouldn't take any arguments.- Fixed #1792: Sorting literals sometimes ignored when placed on first few lines of file.
- Fixed #1777: extend_skip is not honored wit a git submodule when skip_gitignore=true.
5.9.2 July 8th 2021
- Improved behavior of
isort --check --atomicagainst Cython files.- Fixed #1769: Future imports added below assignments when no other imports present.
- Fixed #1772: skip-gitignore will check files not in the git repository.
- Fixed #1762: in some cases when skip-gitignore is set, isort fails to skip any files.
- Fixed #1767: Encoding issues surfacing when invalid characters set in
__init__.pyfiles during placement.- Fixed #1771: Improved handling of skips against named streamed in content.
5.9.1 June 21st 2021 [hotfix]
- Fixed #1758: projects with many files and skip_ignore set can lead to a command-line overload.
5.9.0 June 21st 2021
- Improved CLI startup time.
- Implemented #1697: Provisional support for PEP 582: skip
__pypackages__directories by default.- Implemented #1705: More intuitive handling of isort:skip_file comments on streams.
- Implemented #1737: Support for using action comments to avoid adding imports to individual files.
- Implemented #1750: Ability to customize output format lines.
- Implemented #1732: Support for custom sort functions.
- Implemented #1722: Improved behavior for running isort in atomic mode over Cython source files.
- Fixed (PyCQA/isort#1695): added imports being added to doc string in some cases.
- Fixed (PyCQA/isort#1714): in rare cases line continuation combined with tabs can output invalid code.
- Fixed (PyCQA/isort#1726): isort ignores reverse_sort when force_sort_within_sections is true.
- Fixed #1741: comments in hanging indent modes can lead to invalid code.
- Fixed #1744: repeat noqa comments dropped when * import and non * imports exist from the same package.
- Fixed #1721: repeat noqa comments on separate from lines with force-single-line set, sometimes get dropped.
Goal Zero (Tickets related to aspirational goal of achieving 0 regressions for remaining 5.0.0 lifespan):
- Implemented #1394: 100% branch coverage (in addition to line coverage) enforced.
... (truncated)
Commits
c5e8fa7Fix membership check3ce9f8fBump version to 5.10.1fa2de47Mark #1840 as fixedca08411Fixed #1819: Occasional inconsistency with multiple src paths.dbd1842Merge pull request #1845 from PyCQA/revert-1833-bug/do_not_skip_stringdcbf92fRevert "only skip real comments"c154ecfBump version to 5.10.07a13f31Add changelog for 5.1073245e9Fixes #1838: don't append imports where no imports are present223dc4cRemove unused import- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)