- update to 5.13.2:
* Apply the bracket fix from issue #471 only for
use_parentheses=True
* Confine pre-commit to stages
* Fixed colors extras
* Fixed integration tests
* Fixed normalizing imports from more than one level of parent
modules
* Remove optional dependencies without extras
* Cleanup deprecated extras
* Fixed#1989: settings lookup when working in stream based
mode
* Fixed 80 line length for wemake linter
* Add support for Python 3.12
* Fixed assertions in test_git_hook
* Removed check for include_trailing_comma for the Hanging
Indent wrap mode
* Use the standard library tomllib on sufficiently new python
* Fixed safety sept 2023
* chore: move configurations to pyproject.toml (#2115)
* Fixed typo in README
* Update version in pre-commit setup to avoid installation
issue with poetry
* Skip .pytype directory by default.
* Fixed a tip block styling in the Config Files section (#2097)
* Fixed#1556: Empty line added between imports that should be
* Improved packaging of test files alongside source distribution
* Fixed#1548: On rare occasions an unecessary empty line can be
* Fixed#1542: Bug in VERTICAL_PREFIX_FROM_MODULE_IMPORT wrap
OBS-URL: https://build.opensuse.org/request/show/1133685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=41
* Apply the bracket fix from issue #471 only for
use_parentheses=True
* Confine pre-commit to stages
* Fixed colors extras
* Fixed integration tests
* Fixed normalizing imports from more than one level of parent
modules
* Remove optional dependencies without extras
* Cleanup deprecated extras
* Fixed#1989: settings lookup when working in stream based
mode
* Fixed 80 line length for wemake linter
* Add support for Python 3.12
* Fixed assertions in test_git_hook
* Removed check for include_trailing_comma for the Hanging
Indent wrap mode
* Use the standard library tomllib on sufficiently new python
* Fixed safety sept 2023
* chore: move configurations to pyproject.toml (#2115)
* Fixed typo in README
* Update version in pre-commit setup to avoid installation
issue with poetry
* Skip .pytype directory by default.
* Fixed a tip block styling in the Config Files section (#2097)
* Fixed#1556: Empty line added between imports that should be
* Improved packaging of test files alongside source distribution
* Fixed#1548: On rare occasions an unecessary empty line can be
* Fixed#1542: Bug in VERTICAL_PREFIX_FROM_MODULE_IMPORT wrap
* Goal Zero: (Tickets related to aspirational goal of achieving 0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=111
- Fixed#1819: Occasional inconsistency with multiple src paths.
- Fixed#1840: skip_file ignored when on the first docstring line
- update to version 5.10.0:
- Implemented #1796: Switch to `tomli` for 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: `_ast` module incorrectly excluded from stdlib definition.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=85
- 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-first` CLI 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=83
- update to version 5.9.2
* Improved behavior of isort --check --atomic against 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__.py files during placement.
* Fixed#1771: Improved handling of skips against named streamed
in content.
- Skip benchmarks
- Update test requirements:
* test expects example_isort_sorting_plugin with python-natsort
installed
* Python 3.9 tests fail without numpy installed because of some
typing check.
OBS-URL: https://build.opensuse.org/request/show/905112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=82
- Fixed#1758: projects with many files and skip_ignore set can lead to a command-line overload.
- update to version 5.9.0:
- 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 (https://github.com/PyCQA/isort/pull/1695): added imports being added to doc string in some cases.
- Fixed (https://github.com/PyCQA/isort/pull/1714): in rare cases line continuation combined with tabs can output invalid code.
- Fixed (https://github.com/PyCQA/isort/pull/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.
- Implemented #1751: Strict typing enforcement (turned on mypy strict mode).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=80
- Don't test requirementslib on python39. Isort calls it a
"deprecated finder" anyway. Colorama needs to be pulled in
seperately then. gh#sarugaku/requirementslib#288
- Update to version 5.8.0
* 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.
* Implemented #1648: Export MyPY type hints.
* Implemented #1641: Identified import statements now return
runnable code.
* Implemented #1661: Added "wemake" profile.
* Implemented #1669: Parallel (-j) now defaults to number of CPU
cores if no value is provided.
* Implemented #1668: Added a safeguard against accidental usage
against /.
* Implemented #1638 / #1644: Provide a flag --overwrite-in-place
to ensure same file handle is used after sorting.
* Implemented #1684: Added support for extending skips with
--extend-skip and --extend-skip-glob.
* Implemented #1688: Auto identification and skipping of some
invalid import statements.
* Implemented #1645: Ability to reverse the import sorting order.
* Implemented #1504: Added ability to push star imports to the
top to avoid overriding explicitly defined imports.
* Documented #1685: Skip doesn't support plain directory names,
but skip_glob does.
OBS-URL: https://build.opensuse.org/request/show/880607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=25
- Update to version 5.8.0
* 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.
* Implemented #1648: Export MyPY type hints.
* Implemented #1641: Identified import statements now return
runnable code.
* Implemented #1661: Added "wemake" profile.
* Implemented #1669: Parallel (-j) now defaults to number of CPU
cores if no value is provided.
* Implemented #1668: Added a safeguard against accidental usage
against /.
* Implemented #1638 / #1644: Provide a flag --overwrite-in-place
to ensure same file handle is used after sorting.
* Implemented #1684: Added support for extending skips with
--extend-skip and --extend-skip-glob.
* Implemented #1688: Auto identification and skipping of some
invalid import statements.
* Implemented #1645: Ability to reverse the import sorting order.
* Implemented #1504: Added ability to push star imports to the
top to avoid overriding explicitly defined imports.
* Documented #1685: Skip doesn't support plain directory names,
but skip_glob does.
OBS-URL: https://build.opensuse.org/request/show/880409
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=77