SHA256
1
0
forked from pool/python-isort

Accepting request 880409 from home:bnavigator:branches:devel:languages:python

- 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
This commit is contained in:
Benjamin Greiner 2021-03-21 19:44:10 +00:00 committed by Git OBS Bridge
parent b7f382688e
commit 6c4930b348
4 changed files with 39 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0075f620c552f6d52e26bc4ec53f44c716b2aaf0e4c8067dfffadef60413a740
size 705652

3
isort-5.8.0-gh.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aae32aa863c57735bba9665f2a1fa79416a4c528c45d021f0da5e62de504b3f8
size 717068

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sun Mar 21 18:33:47 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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.
-------------------------------------------------------------------
Fri Jan 29 19:59:54 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package python-isort
# spec file for package python-isort-test
#
# Copyright (c) 2021 SUSE LLC
#
@ -27,7 +27,7 @@
%endif
%define skip_python2 1
Name: python-isort%{psuffix}
Version: 5.7.0
Version: 5.8.0
Release: 0
Summary: A Python utility / library to sort Python imports
License: MIT
@ -40,7 +40,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210127.3a18043
Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Recommends: python-colorama >= 0.4.3
Recommends: python-pip-api
Recommends: python-pipreqs
@ -57,8 +57,8 @@ BuildRequires: %{python_module pip-api}
BuildRequires: %{python_module pipreqs}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pylama}
BuildRequires: %{python_module pytest > 6.0}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requirementslib >= 1.5}
BuildRequires: git
%endif