Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-isort for
openSUSE:Factory checked in at 2022-10-12 18:25:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-isort (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-isort.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-isort"
Wed Oct 12 18:25:51 2022 rev:4 rq:1010145 version:4.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flake8-isort/python-flake8-isort.changes
2022-01-15 20:05:30.541773471 +0100
+++
/work/SRC/openSUSE:Factory/.python-flake8-isort.new.2275/python-flake8-isort.changes
2022-10-12 18:27:35.814073609 +0200
@@ -1,0 +2,6 @@
+Wed Oct 12 03:22:12 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- update to 4.2.0
+ * Fix compatibility with flake8 version 5.
+
+-------------------------------------------------------------------
Old:
----
flake8-isort-4.1.1.tar.gz
New:
----
flake8-isort-4.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-isort.spec ++++++
--- /var/tmp/diff_new_pack.gNDUyi/_old 2022-10-12 18:27:36.198074455 +0200
+++ /var/tmp/diff_new_pack.gNDUyi/_new 2022-10-12 18:27:36.202074464 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-flake8-isort
-Version: 4.1.1
+Version: 4.2.0
Release: 0
Summary: Plugin integrating isort in flake8
License: GPL-2.0-only
++++++ flake8-isort-4.1.1.tar.gz -> flake8-isort-4.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-isort-4.1.1/CHANGES.rst
new/flake8-isort-4.2.0/CHANGES.rst
--- old/flake8-isort-4.1.1/CHANGES.rst 2021-10-14 13:43:46.000000000 +0200
+++ new/flake8-isort-4.2.0/CHANGES.rst 2022-08-04 18:53:07.000000000 +0200
@@ -3,6 +3,24 @@
Changelog
=========
+4.2.0 (2022-08-04)
+------------------
+
+- Fix compatibility with flake8 version 5. [nhymxu]
+
+
+4.1.2.post0 (2022-07-25)
+------------------------
+
+- Release it as a wheel as well. [gforcada]
+
+
+4.1.2 (2022-07-25)
+------------------
+
+- The package no longer depends on ``testfixtures``.
+
+
4.1.1 (2021-10-14)
------------------
@@ -55,7 +73,7 @@
2.9.0 (2020-03-16)
------------------
-- Add ``python3.8`` suport.
+- Add ``python3.8`` support.
[sobolevn]
2.8.0 (2019-12-05)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-isort-4.1.1/PKG-INFO
new/flake8-isort-4.2.0/PKG-INFO
--- old/flake8-isort-4.1.1/PKG-INFO 2021-10-14 13:43:47.000000000 +0200
+++ new/flake8-isort-4.2.0/PKG-INFO 2022-08-04 18:53:07.775674800 +0200
@@ -1,347 +1,11 @@
Metadata-Version: 2.1
Name: flake8-isort
-Version: 4.1.1
+Version: 4.2.0
Summary: flake8 plugin that integrates isort .
Home-page: https://github.com/gforcada/flake8-isort
Author: Gil Forcada
Author-email: [email protected]
License: GPL version 2
-Description: .. -*- coding: utf-8 -*-
-
- .. image::
https://travis-ci.org/gforcada/flake8-isort.svg?branch=master
- :target: https://travis-ci.org/gforcada/flake8-isort
-
- .. image::
https://coveralls.io/repos/gforcada/flake8-isort/badge.svg?branch=master&service=github
- :target:
https://coveralls.io/github/gforcada/flake8-isort?branch=master
-
- Flake8 meet isort
- =================
- Use `isort`_ to check if the imports on your python files are sorted
the way you expect.
-
- Add an ``.isort.cfg`` to define how you want your imports sorted and
run flake8 as you usually do.
-
- See `isort documentation`_ for ``.isort.cfg`` available options.
-
- Install
- -------
- Install with pip::
-
- $ pip install flake8-isort
-
- Install with conda::
-
- $ conda install -c conda-forge flake8-isort
-
-
- Configuration
- -------------
- If using the `select` [option from
flake8](http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select)
be sure to enable the `I` category as well, see below for the specific error
codes reported by `flake8-isort`.
-
- Error codes
- -----------
-
+------------+-----------------------------------------------------------+
- | Error code | Description
|
-
+============+===========================================================+
- | I001 | isort found an import in the wrong position
|
-
+------------+-----------------------------------------------------------+
- | I002 | no configuration found (.isort.cfg or [isort] in
configs) |
-
+------------+-----------------------------------------------------------+
- | I003 | isort expected 1 blank line in imports, found 0
|
-
+------------+-----------------------------------------------------------+
- | I004 | isort found an unexpected blank line in imports
|
-
+------------+-----------------------------------------------------------+
- | I005 | isort found an unexpected missing import
|
-
+------------+-----------------------------------------------------------+
-
- Requirements
- ------------
- - Python 2.7, 3.5, 3.6, pypy or pypy3
- - flake8
- - isort
-
- Relation to flake8-import-order
- -------------------------------
-
- As an alternative to this flake8 plugin, there's
`flake8-import-order`_ that could be worth checking out. In contrast to this
plugin that defers all logic to isort, the flake8-import-order comes bundled
with it's own logic.
-
- flake8-import-order comes with a few predefined set of styles
meanwhile this plugin can be customized a bit more. But the biggest difference
could lie in that flake8-isort actually has the corresponding sorting engine
isort that can sort the import orders of your existing python files. Meanwhile
flake8-import-order has no such corresponding tool, hence big existing projects
who want to adopt either would get a more automized experience choosing
flake8-isort.
-
- License
- -------
- GPL 2.0
-
- .. _`isort`: https://pypi.python.org/pypi/isort
- .. _`isort documentation`:
https://github.com/timothycrosley/isort/wiki/isort-Settings
- .. _`flake8-import-order`:
https://pypi.python.org/pypi/flake8-import-order
-
- .. -*- coding: utf-8 -*-
-
- Changelog
- =========
-
- 4.1.1 (2021-10-14)
- ------------------
-
- - Release py3 only wheels..
-
-
- 4.1.0 (2021-10-14)
- ------------------
-
- - Support flake8 4.x [g-as]
-
- - Switch from travis-ci to github actions. [g-as]
-
- - Drop python 2.7 support and 3.5 as well [g-as]
-
-
- 4.0.0 (2020-08-11)
- ------------------
-
- - Nothing changed yet.
-
-
- 4.0.0a0 (2020-08-07)
- --------------------
-
- - support isort >= 5 [bnavigator, pkolbus]
-
-
- 3.0.1 (2020-07-08)
- ------------------
-
- - Work around `FailedToLoadPlugin` exception by requiring `isort` 4.x.
Likewise,
- pin the major version of all dependencies, to reduce risk of any
future
- incompatibilities.
- [pkolbus]
-
-
- 3.0.0 (2020-04-15)
- ------------------
-
- - Let `isort` search the configuration, rather than `flake8-isort` try
to find it.
- [jnns]
-
- 2.9.1 (2020-03-28)
- ------------------
-
- - Fix flake8 warning.
- [sobolevn]
-
- 2.9.0 (2020-03-16)
- ------------------
-
- - Add ``python3.8`` suport.
- [sobolevn]
-
- 2.8.0 (2019-12-05)
- ------------------
-
- - Look for isort configuration on `.flake8` files as well.
- [JohnHBrock]
-
- - Document how to install `flake8-isort` on conda.
- [marcelotrevisani]
-
- - Look for isort configuration on `pyproject.toml` files as well.
- [sanjioh]
-
- 2.7.0 (2019-03-19)
- ------------------
-
- - Improve the README.
- [barbossa]
-
- - Fix isort output when pipes are used.
- [maerteijn]
-
- 2.6.0 (2018-12-01)
- ------------------
-
- - Use pytest to run tests.
- [gforcada]
-
- - New error code I005 isort foundan unexpected missing import.
- [charettes]
-
- - Add ``isort_show_traceback`` option to show verbose multi-line output
- from ``isort``, turned off by default
- [sobolevn]
-
- 2.5 (2018-03-15)
- ----------------
-
- - Now requires isort >= 4.3.0.
- [jleclanche]
-
-
- 2.4 (2018-02-25)
- ----------------
-
- - Fix input handling with flake8's --stdin-display-name, and simplify
it.
- [blueyed]
-
- - Remove flake8-polyfill dependency. flake8 >= 3.2.1 is required
already, and
- stdin is not read directly anymore.
- [blueyed]
-
- 2.3 (2017-12-22)
- ----------------
-
- - Fix typo.
- [paltman]
-
- - Add tox.ini and .editorconfig to config search.
- [cas--]
-
- - Make this plugin compatible with flake8 hook.
- As the hook copies the files out of tree,
- flake8-isort never finds the correct configuration.
- [jaysonsantos]
-
- 2.2.2 (2017-08-19)
- ------------------
-
- - Workaround for isort bug when skipping files.
- [danpalmer]
-
- 2.2.1 (2017-05-12)
- ------------------
-
- - Release as universal wheel.
- [gforcada]
-
- 2.2 (2017-03-26)
- ----------------
-
- - Support flake8 git hook.
- [sergio-alonso]
-
- - Support python 3.6.
- [gforcada]
-
- - Search configuration on home folder.
- [gforcada]
-
- 2.1.3 (2016-11-25)
- ------------------
-
- - Fix yet another corner case.
- [gforcada]
-
- 2.1.2 (2016-11-25)
- ------------------
-
- - Fix another corner case: ignored files.
- [cas--]
-
- 2.1.1 (2016-11-25)
- ------------------
-
- - Fix corner cases of isort: newlines and grouped imports.
- [cas--]
-
- 2.1.0 (2016-11-24)
- ------------------
-
- - Show the exact line and kind of error,
- rather than a generic message.
- [cas--]
-
- 2.0.3 (2016-11-22)
- ------------------
-
- - Update trove classifiers.
- [gforcada]
-
- 2.0.2 (2016-11-22)
- ------------------
-
- - Add flake8 classifier.
- [sigmavirus24]
-
- - Require flake8 3.2.1.
- flake8 series 3.1.x and 3.2.0 where not reporting flake8-isort
errors.
- [gforcada]
-
- - Test on pypy and pypy3.
- [gforcada]
-
- - Fix tests and formatting.
- [gforcada]
-
- 2.0.1 (2016-09-22)
- ------------------
-
- - Fix standard input processing.
- [carljm]
-
-
- 2.0 (2016-09-14)
- ----------------
-
- - Refactor code to handle flake8 version 3.
- [danpalmer]
-
- - Require flake8 version 3.0.
- [gforcada]
-
- 1.3 (2016-06-20)
- ----------------
-
- - Make error messages clearer.
- [do3cc]
-
- - Use either pep8 or pycodestyle (new name for pep8).
- [Maxim Novikov]
-
- - Fix coveralls.
- [gforcada]
-
- 1.2 (2016-03-05)
- ----------------
- - Allow stdin processing, this way text editor can pass input to
flake8.
- [mjacksonw]
-
- 1.1.1 (2016-02-16)
- ------------------
- - Silence isort messages.
- [gforcada]
-
- - Improve wording.
- [gforcada]
-
- 1.1 (2016-02-16)
- ----------------
- - Check for isort configuration on setup.cfg as well.
- [plumdog]
-
- 1.0 (2015-12-16)
- ----------------
- - Check for an isort configuration file.
- [gforcada]
-
- 0.2 (2015-09-14)
- ----------------
- - Fix entry point.
- [gforcada]
-
- 0.1.post0 (2015-09-13)
- ----------------------
- - Release wheels as well.
- [gforcada]
-
- 0.1 (2015-09-13)
- ----------------
- - Initial release
- [gforcada]
-
- - Add all boilerplate files.
- [gforcada]
-
- - Create the flake8 plugin per se.
- [gforcada]
-
Keywords: pep8 flake8 isort imports
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -363,3 +27,362 @@
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Quality Assurance
Provides-Extra: test
+License-File: LICENSE
+License-File: LICENSE.rst
+
+.. -*- coding: utf-8 -*-
+
+.. image::
https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml/badge.svg?branch=master
+ :target:
https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml
+
+.. image::
https://coveralls.io/repos/gforcada/flake8-isort/badge.svg?branch=master&service=github
+ :target: https://coveralls.io/github/gforcada/flake8-isort?branch=master
+
+Flake8 meet isort
+=================
+Use `isort`_ to check if the imports on your python files are sorted the way
you expect.
+
+Add an ``.isort.cfg`` to define how you want your imports sorted and run
flake8 as you usually do.
+
+See `isort documentation`_ for ``.isort.cfg`` available options.
+
+Install
+-------
+Install with pip::
+
+ $ pip install flake8-isort
+
+Install with conda::
+
+ $ conda install -c conda-forge flake8-isort
+
+
+Configuration
+-------------
+If using the `select` `option from flake8`_ be sure to enable the `I` category
as well, see below for the specific error codes reported by `flake8-isort`.
+
+Error codes
+-----------
++------------+-----------------------------------------------------------+
+| Error code | Description |
++============+===========================================================+
+| I001 | isort found an import in the wrong position |
++------------+-----------------------------------------------------------+
+| I002 | no configuration found (.isort.cfg or [isort] in configs) |
++------------+-----------------------------------------------------------+
+| I003 | isort expected 1 blank line in imports, found 0 |
++------------+-----------------------------------------------------------+
+| I004 | isort found an unexpected blank line in imports |
++------------+-----------------------------------------------------------+
+| I005 | isort found an unexpected missing import |
++------------+-----------------------------------------------------------+
+
+Requirements
+------------
+- Python 2.7, 3.5, 3.6, pypy or pypy3
+- flake8
+- isort
+
+Relation to flake8-import-order
+-------------------------------
+
+As an alternative to this flake8 plugin, there's `flake8-import-order`_ that
could be worth checking out. In contrast to this plugin that defers all logic
to isort, the flake8-import-order comes bundled with it's own logic.
+
+flake8-import-order comes with a few predefined set of styles meanwhile this
plugin can be customized a bit more. But the biggest difference could lie in
that flake8-isort actually has the corresponding sorting engine isort that can
sort the import orders of your existing python files. Meanwhile
flake8-import-order has no such corresponding tool, hence big existing projects
who want to adopt either would get a more automized experience choosing
flake8-isort.
+
+License
+-------
+GPL 2.0
+
+.. _`isort`: https://pypi.python.org/pypi/isort
+.. _`isort documentation`:
https://pycqa.github.io/isort/docs/configuration/options.html
+.. _`flake8-import-order`: https://pypi.python.org/pypi/flake8-import-order
+.. _`option from flake8`:
http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select
+
+.. -*- coding: utf-8 -*-
+
+Changelog
+=========
+
+4.2.0 (2022-08-04)
+------------------
+
+- Fix compatibility with flake8 version 5. [nhymxu]
+
+
+4.1.2.post0 (2022-07-25)
+------------------------
+
+- Release it as a wheel as well. [gforcada]
+
+
+4.1.2 (2022-07-25)
+------------------
+
+- The package no longer depends on ``testfixtures``.
+
+
+4.1.1 (2021-10-14)
+------------------
+
+- Release py3 only wheels..
+
+
+4.1.0 (2021-10-14)
+------------------
+
+- Support flake8 4.x [g-as]
+
+- Switch from travis-ci to github actions. [g-as]
+
+- Drop python 2.7 support and 3.5 as well [g-as]
+
+
+4.0.0 (2020-08-11)
+------------------
+
+- Nothing changed yet.
+
+
+4.0.0a0 (2020-08-07)
+--------------------
+
+- support isort >= 5 [bnavigator, pkolbus]
+
+
+3.0.1 (2020-07-08)
+------------------
+
+- Work around `FailedToLoadPlugin` exception by requiring `isort` 4.x.
Likewise,
+ pin the major version of all dependencies, to reduce risk of any future
+ incompatibilities.
+ [pkolbus]
+
+
+3.0.0 (2020-04-15)
+------------------
+
+- Let `isort` search the configuration, rather than `flake8-isort` try to find
it.
+ [jnns]
+
+2.9.1 (2020-03-28)
+------------------
+
+- Fix flake8 warning.
+ [sobolevn]
+
+2.9.0 (2020-03-16)
+------------------
+
+- Add ``python3.8`` support.
+ [sobolevn]
+
+2.8.0 (2019-12-05)
+------------------
+
+- Look for isort configuration on `.flake8` files as well.
+ [JohnHBrock]
+
+- Document how to install `flake8-isort` on conda.
+ [marcelotrevisani]
+
+- Look for isort configuration on `pyproject.toml` files as well.
+ [sanjioh]
+
+2.7.0 (2019-03-19)
+------------------
+
+- Improve the README.
+ [barbossa]
+
+- Fix isort output when pipes are used.
+ [maerteijn]
+
+2.6.0 (2018-12-01)
+------------------
+
+- Use pytest to run tests.
+ [gforcada]
+
+- New error code I005 isort foundan unexpected missing import.
+ [charettes]
+
+- Add ``isort_show_traceback`` option to show verbose multi-line output
+ from ``isort``, turned off by default
+ [sobolevn]
+
+2.5 (2018-03-15)
+----------------
+
+- Now requires isort >= 4.3.0.
+ [jleclanche]
+
+
+2.4 (2018-02-25)
+----------------
+
+- Fix input handling with flake8's --stdin-display-name, and simplify it.
+ [blueyed]
+
+- Remove flake8-polyfill dependency. flake8 >= 3.2.1 is required already, and
+ stdin is not read directly anymore.
+ [blueyed]
+
+2.3 (2017-12-22)
+----------------
+
+- Fix typo.
+ [paltman]
+
+- Add tox.ini and .editorconfig to config search.
+ [cas--]
+
+- Make this plugin compatible with flake8 hook.
+ As the hook copies the files out of tree,
+ flake8-isort never finds the correct configuration.
+ [jaysonsantos]
+
+2.2.2 (2017-08-19)
+------------------
+
+- Workaround for isort bug when skipping files.
+ [danpalmer]
+
+2.2.1 (2017-05-12)
+------------------
+
+- Release as universal wheel.
+ [gforcada]
+
+2.2 (2017-03-26)
+----------------
+
+- Support flake8 git hook.
+ [sergio-alonso]
+
+- Support python 3.6.
+ [gforcada]
+
+- Search configuration on home folder.
+ [gforcada]
+
+2.1.3 (2016-11-25)
+------------------
+
+- Fix yet another corner case.
+ [gforcada]
+
+2.1.2 (2016-11-25)
+------------------
+
+- Fix another corner case: ignored files.
+ [cas--]
+
+2.1.1 (2016-11-25)
+------------------
+
+- Fix corner cases of isort: newlines and grouped imports.
+ [cas--]
+
+2.1.0 (2016-11-24)
+------------------
+
+- Show the exact line and kind of error,
+ rather than a generic message.
+ [cas--]
+
+2.0.3 (2016-11-22)
+------------------
+
+- Update trove classifiers.
+ [gforcada]
+
+2.0.2 (2016-11-22)
+------------------
+
+- Add flake8 classifier.
+ [sigmavirus24]
+
+- Require flake8 3.2.1.
+ flake8 series 3.1.x and 3.2.0 where not reporting flake8-isort errors.
+ [gforcada]
+
+- Test on pypy and pypy3.
+ [gforcada]
+
+- Fix tests and formatting.
+ [gforcada]
+
+2.0.1 (2016-09-22)
+------------------
+
+- Fix standard input processing.
+ [carljm]
+
+
+2.0 (2016-09-14)
+----------------
+
+- Refactor code to handle flake8 version 3.
+ [danpalmer]
+
+- Require flake8 version 3.0.
+ [gforcada]
+
+1.3 (2016-06-20)
+----------------
+
+- Make error messages clearer.
+ [do3cc]
+
+- Use either pep8 or pycodestyle (new name for pep8).
+ [Maxim Novikov]
+
+- Fix coveralls.
+ [gforcada]
+
+1.2 (2016-03-05)
+----------------
+- Allow stdin processing, this way text editor can pass input to flake8.
+ [mjacksonw]
+
+1.1.1 (2016-02-16)
+------------------
+- Silence isort messages.
+ [gforcada]
+
+- Improve wording.
+ [gforcada]
+
+1.1 (2016-02-16)
+----------------
+- Check for isort configuration on setup.cfg as well.
+ [plumdog]
+
+1.0 (2015-12-16)
+----------------
+- Check for an isort configuration file.
+ [gforcada]
+
+0.2 (2015-09-14)
+----------------
+- Fix entry point.
+ [gforcada]
+
+0.1.post0 (2015-09-13)
+----------------------
+- Release wheels as well.
+ [gforcada]
+
+0.1 (2015-09-13)
+----------------
+- Initial release
+ [gforcada]
+
+- Add all boilerplate files.
+ [gforcada]
+
+- Create the flake8 plugin per se.
+ [gforcada]
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-isort-4.1.1/README.rst
new/flake8-isort-4.2.0/README.rst
--- old/flake8-isort-4.1.1/README.rst 2021-10-14 13:43:46.000000000 +0200
+++ new/flake8-isort-4.2.0/README.rst 2022-08-04 18:53:07.000000000 +0200
@@ -1,7 +1,7 @@
.. -*- coding: utf-8 -*-
-.. image:: https://travis-ci.org/gforcada/flake8-isort.svg?branch=master
- :target: https://travis-ci.org/gforcada/flake8-isort
+.. image::
https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml/badge.svg?branch=master
+ :target:
https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml
.. image::
https://coveralls.io/repos/gforcada/flake8-isort/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/gforcada/flake8-isort?branch=master
@@ -27,7 +27,7 @@
Configuration
-------------
-If using the `select` [option from
flake8](http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select)
be sure to enable the `I` category as well, see below for the specific error
codes reported by `flake8-isort`.
+If using the `select` `option from flake8`_ be sure to enable the `I` category
as well, see below for the specific error codes reported by `flake8-isort`.
Error codes
-----------
@@ -63,5 +63,6 @@
GPL 2.0
.. _`isort`: https://pypi.python.org/pypi/isort
-.. _`isort documentation`:
https://github.com/timothycrosley/isort/wiki/isort-Settings
+.. _`isort documentation`:
https://pycqa.github.io/isort/docs/configuration/options.html
.. _`flake8-import-order`: https://pypi.python.org/pypi/flake8-import-order
+.. _`option from flake8`:
http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-isort-4.1.1/flake8_isort.egg-info/PKG-INFO
new/flake8-isort-4.2.0/flake8_isort.egg-info/PKG-INFO
--- old/flake8-isort-4.1.1/flake8_isort.egg-info/PKG-INFO 2021-10-14
13:43:46.000000000 +0200
+++ new/flake8-isort-4.2.0/flake8_isort.egg-info/PKG-INFO 2022-08-04
18:53:07.000000000 +0200
@@ -1,347 +1,11 @@
Metadata-Version: 2.1
Name: flake8-isort
-Version: 4.1.1
+Version: 4.2.0
Summary: flake8 plugin that integrates isort .
Home-page: https://github.com/gforcada/flake8-isort
Author: Gil Forcada
Author-email: [email protected]
License: GPL version 2
-Description: .. -*- coding: utf-8 -*-
-
- .. image::
https://travis-ci.org/gforcada/flake8-isort.svg?branch=master
- :target: https://travis-ci.org/gforcada/flake8-isort
-
- .. image::
https://coveralls.io/repos/gforcada/flake8-isort/badge.svg?branch=master&service=github
- :target:
https://coveralls.io/github/gforcada/flake8-isort?branch=master
-
- Flake8 meet isort
- =================
- Use `isort`_ to check if the imports on your python files are sorted
the way you expect.
-
- Add an ``.isort.cfg`` to define how you want your imports sorted and
run flake8 as you usually do.
-
- See `isort documentation`_ for ``.isort.cfg`` available options.
-
- Install
- -------
- Install with pip::
-
- $ pip install flake8-isort
-
- Install with conda::
-
- $ conda install -c conda-forge flake8-isort
-
-
- Configuration
- -------------
- If using the `select` [option from
flake8](http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select)
be sure to enable the `I` category as well, see below for the specific error
codes reported by `flake8-isort`.
-
- Error codes
- -----------
-
+------------+-----------------------------------------------------------+
- | Error code | Description
|
-
+============+===========================================================+
- | I001 | isort found an import in the wrong position
|
-
+------------+-----------------------------------------------------------+
- | I002 | no configuration found (.isort.cfg or [isort] in
configs) |
-
+------------+-----------------------------------------------------------+
- | I003 | isort expected 1 blank line in imports, found 0
|
-
+------------+-----------------------------------------------------------+
- | I004 | isort found an unexpected blank line in imports
|
-
+------------+-----------------------------------------------------------+
- | I005 | isort found an unexpected missing import
|
-
+------------+-----------------------------------------------------------+
-
- Requirements
- ------------
- - Python 2.7, 3.5, 3.6, pypy or pypy3
- - flake8
- - isort
-
- Relation to flake8-import-order
- -------------------------------
-
- As an alternative to this flake8 plugin, there's
`flake8-import-order`_ that could be worth checking out. In contrast to this
plugin that defers all logic to isort, the flake8-import-order comes bundled
with it's own logic.
-
- flake8-import-order comes with a few predefined set of styles
meanwhile this plugin can be customized a bit more. But the biggest difference
could lie in that flake8-isort actually has the corresponding sorting engine
isort that can sort the import orders of your existing python files. Meanwhile
flake8-import-order has no such corresponding tool, hence big existing projects
who want to adopt either would get a more automized experience choosing
flake8-isort.
-
- License
- -------
- GPL 2.0
-
- .. _`isort`: https://pypi.python.org/pypi/isort
- .. _`isort documentation`:
https://github.com/timothycrosley/isort/wiki/isort-Settings
- .. _`flake8-import-order`:
https://pypi.python.org/pypi/flake8-import-order
-
- .. -*- coding: utf-8 -*-
-
- Changelog
- =========
-
- 4.1.1 (2021-10-14)
- ------------------
-
- - Release py3 only wheels..
-
-
- 4.1.0 (2021-10-14)
- ------------------
-
- - Support flake8 4.x [g-as]
-
- - Switch from travis-ci to github actions. [g-as]
-
- - Drop python 2.7 support and 3.5 as well [g-as]
-
-
- 4.0.0 (2020-08-11)
- ------------------
-
- - Nothing changed yet.
-
-
- 4.0.0a0 (2020-08-07)
- --------------------
-
- - support isort >= 5 [bnavigator, pkolbus]
-
-
- 3.0.1 (2020-07-08)
- ------------------
-
- - Work around `FailedToLoadPlugin` exception by requiring `isort` 4.x.
Likewise,
- pin the major version of all dependencies, to reduce risk of any
future
- incompatibilities.
- [pkolbus]
-
-
- 3.0.0 (2020-04-15)
- ------------------
-
- - Let `isort` search the configuration, rather than `flake8-isort` try
to find it.
- [jnns]
-
- 2.9.1 (2020-03-28)
- ------------------
-
- - Fix flake8 warning.
- [sobolevn]
-
- 2.9.0 (2020-03-16)
- ------------------
-
- - Add ``python3.8`` suport.
- [sobolevn]
-
- 2.8.0 (2019-12-05)
- ------------------
-
- - Look for isort configuration on `.flake8` files as well.
- [JohnHBrock]
-
- - Document how to install `flake8-isort` on conda.
- [marcelotrevisani]
-
- - Look for isort configuration on `pyproject.toml` files as well.
- [sanjioh]
-
- 2.7.0 (2019-03-19)
- ------------------
-
- - Improve the README.
- [barbossa]
-
- - Fix isort output when pipes are used.
- [maerteijn]
-
- 2.6.0 (2018-12-01)
- ------------------
-
- - Use pytest to run tests.
- [gforcada]
-
- - New error code I005 isort foundan unexpected missing import.
- [charettes]
-
- - Add ``isort_show_traceback`` option to show verbose multi-line output
- from ``isort``, turned off by default
- [sobolevn]
-
- 2.5 (2018-03-15)
- ----------------
-
- - Now requires isort >= 4.3.0.
- [jleclanche]
-
-
- 2.4 (2018-02-25)
- ----------------
-
- - Fix input handling with flake8's --stdin-display-name, and simplify
it.
- [blueyed]
-
- - Remove flake8-polyfill dependency. flake8 >= 3.2.1 is required
already, and
- stdin is not read directly anymore.
- [blueyed]
-
- 2.3 (2017-12-22)
- ----------------
-
- - Fix typo.
- [paltman]
-
- - Add tox.ini and .editorconfig to config search.
- [cas--]
-
- - Make this plugin compatible with flake8 hook.
- As the hook copies the files out of tree,
- flake8-isort never finds the correct configuration.
- [jaysonsantos]
-
- 2.2.2 (2017-08-19)
- ------------------
-
- - Workaround for isort bug when skipping files.
- [danpalmer]
-
- 2.2.1 (2017-05-12)
- ------------------
-
- - Release as universal wheel.
- [gforcada]
-
- 2.2 (2017-03-26)
- ----------------
-
- - Support flake8 git hook.
- [sergio-alonso]
-
- - Support python 3.6.
- [gforcada]
-
- - Search configuration on home folder.
- [gforcada]
-
- 2.1.3 (2016-11-25)
- ------------------
-
- - Fix yet another corner case.
- [gforcada]
-
- 2.1.2 (2016-11-25)
- ------------------
-
- - Fix another corner case: ignored files.
- [cas--]
-
- 2.1.1 (2016-11-25)
- ------------------
-
- - Fix corner cases of isort: newlines and grouped imports.
- [cas--]
-
- 2.1.0 (2016-11-24)
- ------------------
-
- - Show the exact line and kind of error,
- rather than a generic message.
- [cas--]
-
- 2.0.3 (2016-11-22)
- ------------------
-
- - Update trove classifiers.
- [gforcada]
-
- 2.0.2 (2016-11-22)
- ------------------
-
- - Add flake8 classifier.
- [sigmavirus24]
-
- - Require flake8 3.2.1.
- flake8 series 3.1.x and 3.2.0 where not reporting flake8-isort
errors.
- [gforcada]
-
- - Test on pypy and pypy3.
- [gforcada]
-
- - Fix tests and formatting.
- [gforcada]
-
- 2.0.1 (2016-09-22)
- ------------------
-
- - Fix standard input processing.
- [carljm]
-
-
- 2.0 (2016-09-14)
- ----------------
-
- - Refactor code to handle flake8 version 3.
- [danpalmer]
-
- - Require flake8 version 3.0.
- [gforcada]
-
- 1.3 (2016-06-20)
- ----------------
-
- - Make error messages clearer.
- [do3cc]
-
- - Use either pep8 or pycodestyle (new name for pep8).
- [Maxim Novikov]
-
- - Fix coveralls.
- [gforcada]
-
- 1.2 (2016-03-05)
- ----------------
- - Allow stdin processing, this way text editor can pass input to
flake8.
- [mjacksonw]
-
- 1.1.1 (2016-02-16)
- ------------------
- - Silence isort messages.
- [gforcada]
-
- - Improve wording.
- [gforcada]
-
- 1.1 (2016-02-16)
- ----------------
- - Check for isort configuration on setup.cfg as well.
- [plumdog]
-
- 1.0 (2015-12-16)
- ----------------
- - Check for an isort configuration file.
- [gforcada]
-
- 0.2 (2015-09-14)
- ----------------
- - Fix entry point.
- [gforcada]
-
- 0.1.post0 (2015-09-13)
- ----------------------
- - Release wheels as well.
- [gforcada]
-
- 0.1 (2015-09-13)
- ----------------
- - Initial release
- [gforcada]
-
- - Add all boilerplate files.
- [gforcada]
-
- - Create the flake8 plugin per se.
- [gforcada]
-
Keywords: pep8 flake8 isort imports
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -363,3 +27,362 @@
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Quality Assurance
Provides-Extra: test
+License-File: LICENSE
+License-File: LICENSE.rst
+
+.. -*- coding: utf-8 -*-
+
+.. image::
https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml/badge.svg?branch=master
+ :target:
https://github.com/gforcada/flake8-isort/actions/workflows/tests.yml
+
+.. image::
https://coveralls.io/repos/gforcada/flake8-isort/badge.svg?branch=master&service=github
+ :target: https://coveralls.io/github/gforcada/flake8-isort?branch=master
+
+Flake8 meet isort
+=================
+Use `isort`_ to check if the imports on your python files are sorted the way
you expect.
+
+Add an ``.isort.cfg`` to define how you want your imports sorted and run
flake8 as you usually do.
+
+See `isort documentation`_ for ``.isort.cfg`` available options.
+
+Install
+-------
+Install with pip::
+
+ $ pip install flake8-isort
+
+Install with conda::
+
+ $ conda install -c conda-forge flake8-isort
+
+
+Configuration
+-------------
+If using the `select` `option from flake8`_ be sure to enable the `I` category
as well, see below for the specific error codes reported by `flake8-isort`.
+
+Error codes
+-----------
++------------+-----------------------------------------------------------+
+| Error code | Description |
++============+===========================================================+
+| I001 | isort found an import in the wrong position |
++------------+-----------------------------------------------------------+
+| I002 | no configuration found (.isort.cfg or [isort] in configs) |
++------------+-----------------------------------------------------------+
+| I003 | isort expected 1 blank line in imports, found 0 |
++------------+-----------------------------------------------------------+
+| I004 | isort found an unexpected blank line in imports |
++------------+-----------------------------------------------------------+
+| I005 | isort found an unexpected missing import |
++------------+-----------------------------------------------------------+
+
+Requirements
+------------
+- Python 2.7, 3.5, 3.6, pypy or pypy3
+- flake8
+- isort
+
+Relation to flake8-import-order
+-------------------------------
+
+As an alternative to this flake8 plugin, there's `flake8-import-order`_ that
could be worth checking out. In contrast to this plugin that defers all logic
to isort, the flake8-import-order comes bundled with it's own logic.
+
+flake8-import-order comes with a few predefined set of styles meanwhile this
plugin can be customized a bit more. But the biggest difference could lie in
that flake8-isort actually has the corresponding sorting engine isort that can
sort the import orders of your existing python files. Meanwhile
flake8-import-order has no such corresponding tool, hence big existing projects
who want to adopt either would get a more automized experience choosing
flake8-isort.
+
+License
+-------
+GPL 2.0
+
+.. _`isort`: https://pypi.python.org/pypi/isort
+.. _`isort documentation`:
https://pycqa.github.io/isort/docs/configuration/options.html
+.. _`flake8-import-order`: https://pypi.python.org/pypi/flake8-import-order
+.. _`option from flake8`:
http://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-select
+
+.. -*- coding: utf-8 -*-
+
+Changelog
+=========
+
+4.2.0 (2022-08-04)
+------------------
+
+- Fix compatibility with flake8 version 5. [nhymxu]
+
+
+4.1.2.post0 (2022-07-25)
+------------------------
+
+- Release it as a wheel as well. [gforcada]
+
+
+4.1.2 (2022-07-25)
+------------------
+
+- The package no longer depends on ``testfixtures``.
+
+
+4.1.1 (2021-10-14)
+------------------
+
+- Release py3 only wheels..
+
+
+4.1.0 (2021-10-14)
+------------------
+
+- Support flake8 4.x [g-as]
+
+- Switch from travis-ci to github actions. [g-as]
+
+- Drop python 2.7 support and 3.5 as well [g-as]
+
+
+4.0.0 (2020-08-11)
+------------------
+
+- Nothing changed yet.
+
+
+4.0.0a0 (2020-08-07)
+--------------------
+
+- support isort >= 5 [bnavigator, pkolbus]
+
+
+3.0.1 (2020-07-08)
+------------------
+
+- Work around `FailedToLoadPlugin` exception by requiring `isort` 4.x.
Likewise,
+ pin the major version of all dependencies, to reduce risk of any future
+ incompatibilities.
+ [pkolbus]
+
+
+3.0.0 (2020-04-15)
+------------------
+
+- Let `isort` search the configuration, rather than `flake8-isort` try to find
it.
+ [jnns]
+
+2.9.1 (2020-03-28)
+------------------
+
+- Fix flake8 warning.
+ [sobolevn]
+
+2.9.0 (2020-03-16)
+------------------
+
+- Add ``python3.8`` support.
+ [sobolevn]
+
+2.8.0 (2019-12-05)
+------------------
+
+- Look for isort configuration on `.flake8` files as well.
+ [JohnHBrock]
+
+- Document how to install `flake8-isort` on conda.
+ [marcelotrevisani]
+
+- Look for isort configuration on `pyproject.toml` files as well.
+ [sanjioh]
+
+2.7.0 (2019-03-19)
+------------------
+
+- Improve the README.
+ [barbossa]
+
+- Fix isort output when pipes are used.
+ [maerteijn]
+
+2.6.0 (2018-12-01)
+------------------
+
+- Use pytest to run tests.
+ [gforcada]
+
+- New error code I005 isort foundan unexpected missing import.
+ [charettes]
+
+- Add ``isort_show_traceback`` option to show verbose multi-line output
+ from ``isort``, turned off by default
+ [sobolevn]
+
+2.5 (2018-03-15)
+----------------
+
+- Now requires isort >= 4.3.0.
+ [jleclanche]
+
+
+2.4 (2018-02-25)
+----------------
+
+- Fix input handling with flake8's --stdin-display-name, and simplify it.
+ [blueyed]
+
+- Remove flake8-polyfill dependency. flake8 >= 3.2.1 is required already, and
+ stdin is not read directly anymore.
+ [blueyed]
+
+2.3 (2017-12-22)
+----------------
+
+- Fix typo.
+ [paltman]
+
+- Add tox.ini and .editorconfig to config search.
+ [cas--]
+
+- Make this plugin compatible with flake8 hook.
+ As the hook copies the files out of tree,
+ flake8-isort never finds the correct configuration.
+ [jaysonsantos]
+
+2.2.2 (2017-08-19)
+------------------
+
+- Workaround for isort bug when skipping files.
+ [danpalmer]
+
+2.2.1 (2017-05-12)
+------------------
+
+- Release as universal wheel.
+ [gforcada]
+
+2.2 (2017-03-26)
+----------------
+
+- Support flake8 git hook.
+ [sergio-alonso]
+
+- Support python 3.6.
+ [gforcada]
+
+- Search configuration on home folder.
+ [gforcada]
+
+2.1.3 (2016-11-25)
+------------------
+
+- Fix yet another corner case.
+ [gforcada]
+
+2.1.2 (2016-11-25)
+------------------
+
+- Fix another corner case: ignored files.
+ [cas--]
+
+2.1.1 (2016-11-25)
+------------------
+
+- Fix corner cases of isort: newlines and grouped imports.
+ [cas--]
+
+2.1.0 (2016-11-24)
+------------------
+
+- Show the exact line and kind of error,
+ rather than a generic message.
+ [cas--]
+
+2.0.3 (2016-11-22)
+------------------
+
+- Update trove classifiers.
+ [gforcada]
+
+2.0.2 (2016-11-22)
+------------------
+
+- Add flake8 classifier.
+ [sigmavirus24]
+
+- Require flake8 3.2.1.
+ flake8 series 3.1.x and 3.2.0 where not reporting flake8-isort errors.
+ [gforcada]
+
+- Test on pypy and pypy3.
+ [gforcada]
+
+- Fix tests and formatting.
+ [gforcada]
+
+2.0.1 (2016-09-22)
+------------------
+
+- Fix standard input processing.
+ [carljm]
+
+
+2.0 (2016-09-14)
+----------------
+
+- Refactor code to handle flake8 version 3.
+ [danpalmer]
+
+- Require flake8 version 3.0.
+ [gforcada]
+
+1.3 (2016-06-20)
+----------------
+
+- Make error messages clearer.
+ [do3cc]
+
+- Use either pep8 or pycodestyle (new name for pep8).
+ [Maxim Novikov]
+
+- Fix coveralls.
+ [gforcada]
+
+1.2 (2016-03-05)
+----------------
+- Allow stdin processing, this way text editor can pass input to flake8.
+ [mjacksonw]
+
+1.1.1 (2016-02-16)
+------------------
+- Silence isort messages.
+ [gforcada]
+
+- Improve wording.
+ [gforcada]
+
+1.1 (2016-02-16)
+----------------
+- Check for isort configuration on setup.cfg as well.
+ [plumdog]
+
+1.0 (2015-12-16)
+----------------
+- Check for an isort configuration file.
+ [gforcada]
+
+0.2 (2015-09-14)
+----------------
+- Fix entry point.
+ [gforcada]
+
+0.1.post0 (2015-09-13)
+----------------------
+- Release wheels as well.
+ [gforcada]
+
+0.1 (2015-09-13)
+----------------
+- Initial release
+ [gforcada]
+
+- Add all boilerplate files.
+ [gforcada]
+
+- Create the flake8 plugin per se.
+ [gforcada]
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/flake8-isort-4.1.1/flake8_isort.egg-info/requires.txt
new/flake8-isort-4.2.0/flake8_isort.egg-info/requires.txt
--- old/flake8-isort-4.1.1/flake8_isort.egg-info/requires.txt 2021-10-14
13:43:46.000000000 +0200
+++ new/flake8-isort-4.2.0/flake8_isort.egg-info/requires.txt 2022-08-04
18:53:07.000000000 +0200
@@ -1,6 +1,5 @@
-flake8<5,>=3.2.1
+flake8<6,>=3.2.1
isort<6,>=4.3.5
-testfixtures<7,>=6.8.0
[test]
pytest-cov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-isort-4.1.1/flake8_isort.py
new/flake8-isort-4.2.0/flake8_isort.py
--- old/flake8-isort-4.1.1/flake8_isort.py 2021-10-14 13:43:46.000000000
+0200
+++ new/flake8-isort-4.2.0/flake8_isort.py 2022-08-04 18:53:07.000000000
+0200
@@ -1,20 +1,16 @@
# -*- coding: utf-8 -*-
-import isort
+from contextlib import redirect_stdout
+from difflib import Differ
+from difflib import unified_diff
+from io import StringIO
+from pathlib import Path
+import isort
+import warnings
-if hasattr(isort, 'api'): # isort 5
- from contextlib import redirect_stdout
- from difflib import unified_diff
- from io import StringIO
- from pathlib import Path
-
- import warnings
-else:
- from difflib import Differ
- from testfixtures import OutputCapture
-__version__ = '4.1.1'
+__version__ = '4.2.0'
class Flake8IsortBase(object):
@@ -46,7 +42,6 @@
@classmethod
def add_options(cls, parser):
-
parser.add_option(
'--isort-show-traceback',
action='store_true',
@@ -68,7 +63,8 @@
file_path = self.filename
else:
file_path = None
- with OutputCapture() as buffer:
+ buffer = StringIO()
+ with redirect_stdout(buffer):
sort_result = isort.SortImports(
file_path=file_path,
file_contents=''.join(self.lines),
@@ -129,7 +125,7 @@
valid_lines = ['']
valid_lines += [
line
- for line in isort_buffer.output.getvalue().splitlines()
+ for line in isort_buffer.getvalue().splitlines()
if line.strip().split(' ', 1)[0] not in filtering_out
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-isort-4.1.1/setup.py
new/flake8-isort-4.2.0/setup.py
--- old/flake8-isort-4.1.1/setup.py 2021-10-14 13:43:46.000000000 +0200
+++ new/flake8-isort-4.2.0/setup.py 2022-08-04 18:53:07.000000000 +0200
@@ -55,9 +55,8 @@
include_package_data=True,
zip_safe=False,
install_requires=[
- 'flake8 >= 3.2.1, <5',
+ 'flake8 >= 3.2.1, <6',
'isort >= 4.3.5, <6',
- 'testfixtures >= 6.8.0, <7',
],
extras_require={
'test': ['pytest-cov'],