15
0

- update to 6.0.0:

* Drop isort 4.x support.
  * Add support for flake8 6.0.0.
  * Add `--isort-no-skip-gitignore` option to allow temporarily overriding
    the set
  value of isort's `skip_gitignore` option with `False`. This can cause
  flake8-isort to run significantly faster at the cost of making flake8-isort's
  behavior differ slightly from the behavior of `isort --check`. [gschaffner]
  * Fix broken `add_options` method [casperdcl]
  * Improve the config option is added and read back. [gforcada]
  * Bump plugin version. [gforcada]
  * Update dependencies. [gforcada]
  * Revamp GitHub actions. [gforcada]
  * Drop python 3.6, and add python 3.10. [gforcada]
  * Use linters and formatters to keep code sane and beautiful. [gforcada]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-isort?expand=0&rev=8
This commit is contained in:
2023-01-02 16:49:27 +00:00
committed by Git OBS Bridge
parent 8cede60c04
commit da2fcb0130
4 changed files with 27 additions and 8 deletions

View File

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

View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Jan 2 16:41:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 6.0.0:
* Drop isort 4.x support.
* Add support for flake8 6.0.0.
* Add `--isort-no-skip-gitignore` option to allow temporarily overriding
the set
value of isort's `skip_gitignore` option with `False`. This can cause
flake8-isort to run significantly faster at the cost of making flake8-isort's
behavior differ slightly from the behavior of `isort --check`. [gschaffner]
* Fix broken `add_options` method [casperdcl]
* Improve the config option is added and read back. [gforcada]
* Bump plugin version. [gforcada]
* Update dependencies. [gforcada]
* Revamp GitHub actions. [gforcada]
* Drop python 3.6, and add python 3.10. [gforcada]
* Use linters and formatters to keep code sane and beautiful. [gforcada]
-------------------------------------------------------------------
Wed Oct 12 03:22:12 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-isort
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-flake8-isort
Version: 4.2.0
Version: 6.0.0
Release: 0
Summary: Plugin integrating isort in flake8
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/gforcada/flake8-isort
Source: https://files.pythonhosted.org/packages/source/f/flake8-isort/flake8-isort-%{version}.tar.gz
BuildRequires: %{python_module flake8 >= 3.2.1}
BuildRequires: %{python_module flake8}
BuildRequires: %{python_module isort >= 4.3.5}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -34,7 +34,7 @@ BuildRequires: %{python_module testfixtures}
BuildRequires: %{python_module toml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8 >= 3.2.1
Requires: python-flake8
Requires: python-isort >= 4.3.5
Requires: python-testfixtures
BuildArch: noarch
@@ -54,7 +54,7 @@ Use `isort`_ to check if the imports on your python files are sorted the way you
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%pytest ./run_tests.py
%files %{python_files}
%doc README.rst CHANGES.rst