forked from pool/python-isort
- update to version 5.0.2:
- Ensured black profile was complete, adding missing line_length definition. - update to version 5.0.1: - Fixed a runtime error in a vendored dependency (toml). - update to version 5.0.0: - 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) are no longer required and have been removed. - Two-letter shortened setting names (like ac for atomic) 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. Instead length_sort_sections list can be used to specify a list of sections that need to be length sorted. - safety_excludes and unsafe 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 becomes from x import y as a. - keep_direct_and_as_imports option now defaults to True. - 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. - Completely new Python API, old version is removed and no longer accessible. - New module placement logic and module fully replaces old finders. Old approach is still available via --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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=38
This commit is contained in:
parent
b8097c954c
commit
748666cc4a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1
|
||||
size 69546
|
3
isort-5.0.2.tar.gz
Normal file
3
isort-5.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba8e494fc13974ec02a623c4aaead306bb86a3102a1df8d399748445f32a78f2
|
||||
size 78980
|
@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 4 12:16:25 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- update to version 5.0.2:
|
||||
- Ensured black profile was complete, adding missing line_length definition.
|
||||
- update to version 5.0.1:
|
||||
- Fixed a runtime error in a vendored dependency (toml).
|
||||
- update to version 5.0.0:
|
||||
- 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) are no longer required and have been removed.
|
||||
- Two-letter shortened setting names (like ac for atomic) 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. Instead length_sort_sections list can be used to specify a list of sections that need to be length sorted.
|
||||
- safety_excludes and unsafe 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 becomes from x import y as a.
|
||||
- keep_direct_and_as_imports option now defaults to True.
|
||||
- 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.
|
||||
- Completely new Python API, old version is removed and no longer accessible.
|
||||
- New module placement logic and module fully replaces old finders. Old approach is still available via --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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 10:59:30 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
%endif
|
||||
%bcond_without python2
|
||||
Name: python-isort%{psuffix}
|
||||
Version: 4.3.21
|
||||
Version: 5.0.2
|
||||
Release: 0
|
||||
Summary: A Python utility / library to sort Python imports
|
||||
License: MIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user