Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-flake8-blind-except for openSUSE:Factory checked in at 2022-09-29 18:13:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flake8-blind-except (Old) and /work/SRC/openSUSE:Factory/.python-flake8-blind-except.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-blind-except" Thu Sep 29 18:13:18 2022 rev:3 rq:1006735 version:0.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-flake8-blind-except/python-flake8-blind-except.changes 2022-01-15 20:05:29.841772926 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8-blind-except.new.2275/python-flake8-blind-except.changes 2022-09-29 18:14:02.259335031 +0200 @@ -1,0 +2,6 @@ +Wed Sep 28 15:45:19 UTC 2022 - Arun Persaud <a...@gmx.de> + +- update to version 0.2.1: + * Remove setuptools from install_requires (#8) + +------------------------------------------------------------------- Old: ---- flake8-blind-except-0.2.0.tar.gz New: ---- flake8-blind-except-0.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flake8-blind-except.spec ++++++ --- /var/tmp/diff_new_pack.zS8Vhy/_old 2022-09-29 18:14:02.859336203 +0200 +++ /var/tmp/diff_new_pack.zS8Vhy/_new 2022-09-29 18:14:02.867336219 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-blind-except -Version: 0.2.0 +Version: 0.2.1 Release: 0 Summary: A flake8 extension that checks for blind except: statements License: MIT @@ -29,7 +29,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-setuptools BuildArch: noarch %python_subpackages @@ -50,6 +49,8 @@ %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/flake8_blind_except.py +%{python_sitelib}/flake8_blind_except-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__ %changelog ++++++ flake8-blind-except-0.2.0.tar.gz -> flake8-blind-except-0.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/LICENSE new/flake8-blind-except-0.2.1/LICENSE --- old/flake8-blind-except-0.2.0/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/flake8-blind-except-0.2.1/LICENSE 2021-01-07 20:25:19.000000000 +0100 @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2014 Elijah Andrews + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/PKG-INFO new/flake8-blind-except-0.2.1/PKG-INFO --- old/flake8-blind-except-0.2.0/PKG-INFO 2021-01-07 20:33:13.113833200 +0100 +++ new/flake8-blind-except-0.2.1/PKG-INFO 2022-03-18 17:49:03.085399600 +0100 @@ -1,98 +1,105 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: flake8-blind-except -Version: 0.2.0 +Version: 0.2.1 Summary: A flake8 extension that checks for blind except: statements Home-page: https://github.com/elijahandrews/flake8-blind-except Author: Elijah Andrews Author-email: elijahcandr...@gmail.com License: MIT -Description: flake8-blind-except - =================== - - A flake8 extension that checks for blind, catch-all ``except:`` and ``except Exception:`` statements. - - As of `pycodestyle 2.1.0 <https://github.com/PyCQA/pycodestyle/commit/543f12b06592c53e2e60edc4846ee02ab9550e8b/>`_, "E722 do not use bare except, specify exception instead" is built-in. However, bare ``Exception`` and ``BaseException`` are still allowed. This extension flags them as `B902`. - - Using ``except`` without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like ``SIGINT``. You probably want to handle system interrupts differently than exceptions occuring in your code. - - It's also usually better style to have many small ``try``-``except`` blocks catching specific exceptions instead of a giant ``try:`` block with a catch-all ``except:`` at the bottom. It's also nicer to your fellow programmers to be a bit more specific about what exceptions they can expect in specific parts of the code, and what the proper course of action is when they occur. - - An example of code that will fail this check is: - - .. code-block:: python - - try: - something_scary() - except: - everybody_panic() - - However, the following code is valid: - - .. code-block:: python - - try: - something_terrifying() - except TerrifyingException: - dont_panic() - - Installation - ------------ - - If you don't already have it, install ``flake8``:: - - $ pip install flake8 - - Then, install the extension:: - - $ pip install flake8-blind-except - - Usage - ----- - - Run the following to verify that the plugin has been installed correctly:: - - $ flake8 --version - 2.0 (pep8: 1.4.6, flake8-blind-except: 0.1.0, pyflakes: 0.7.3) - - Now, when you run ``flake8``, the plugin will automatically be used. - - When a blind except is found, ``flake8`` will output:: - - B901 blind except: statement - - or:: - - B902 blind except Exception: statement - - Contributing - ------------ - - I'm not working on Python these days, so probably won't be making updates anytime soon. PRs are welcome though! - - Testing - ------- - - Tests can be run with ``pytest --doctest-modules flake8_blind_except.py``. - - Changes - ------- - - 0.2.0 - 2021-01-07 - `````````````````` - * B902 error added for cases where a blind ``Exception`` is caught. - - 0.1.1 - 2016-06-27 - `````````````````` - * ``pep8`` was renamed to ``pycodestyle`` in its 2.0 release. Compatibility update for this change. - - 0.1.0 - 2014-02-07 - `````````````````` - * Initial release - - Notes - ----- - - I've tested this package with flake8 2.6.2 + Python 2.7.3 and flake8 3.7.9 + Python 3.7.5. - Keywords: flake8 except exception Platform: UNKNOWN +License-File: LICENSE + +flake8-blind-except +=================== + +A flake8 extension that checks for blind, catch-all ``except:`` and ``except Exception:`` statements. + +As of `pycodestyle 2.1.0 <https://github.com/PyCQA/pycodestyle/commit/543f12b06592c53e2e60edc4846ee02ab9550e8b/>`_, "E722 do not use bare except, specify exception instead" is built-in. However, bare ``Exception`` and ``BaseException`` are still allowed. This extension flags them as `B902`. + +Using ``except`` without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like ``SIGINT``. You probably want to handle system interrupts differently than exceptions occurring in your code. + +It's also usually better style to have many small ``try``-``except`` blocks catching specific exceptions instead of a giant ``try:`` block with a catch-all ``except:`` at the bottom. It's also nicer to your fellow programmers to be a bit more specific about what exceptions they can expect in specific parts of the code, and what the proper course of action is when they occur. + +An example of code that will fail this check is: + +.. code-block:: python + + try: + something_scary() + except: + everybody_panic() + +However, the following code is valid: + +.. code-block:: python + + try: + something_terrifying() + except TerrifyingException: + dont_panic() + +Installation +------------ + +If you don't already have it, install ``flake8``:: + + $ pip install flake8 + +Then, install the extension:: + + $ pip install flake8-blind-except + +Usage +----- + +Run the following to verify that the plugin has been installed correctly:: + + $ flake8 --version + 2.0 (pep8: 1.4.6, flake8-blind-except: 0.1.0, pyflakes: 0.7.3) + +Now, when you run ``flake8``, the plugin will automatically be used. + +When a blind except is found, ``flake8`` will output:: + + B901 blind except: statement + +or:: + + B902 blind except Exception: statement + +Contributing +------------ + +I'm not working on Python these days, so probably won't be making updates anytime soon. PRs are welcome though! + +Testing +------- + +Tests can be run with ``pytest --doctest-modules flake8_blind_except.py``. + +Changes +------- + +0.2.1 - 2022-03-08 +`````````````````` +* Remove setuptools from install_requires (#8) + +0.2.0 - 2021-01-07 +`````````````````` +* B902 error added for cases where a blind ``Exception`` is caught. + +0.1.1 - 2016-06-27 +`````````````````` +* ``pep8`` was renamed to ``pycodestyle`` in its 2.0 release. Compatibility update for this change. + +0.1.0 - 2014-02-07 +`````````````````` +* Initial release + +Notes +----- + +I've tested this package with flake8 2.6.2 + Python 2.7.3 and flake8 3.7.9 + Python 3.7.5. + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/README.rst new/flake8-blind-except-0.2.1/README.rst --- old/flake8-blind-except-0.2.0/README.rst 2021-01-07 20:33:11.000000000 +0100 +++ new/flake8-blind-except-0.2.1/README.rst 2022-03-18 17:45:12.000000000 +0100 @@ -5,7 +5,7 @@ As of `pycodestyle 2.1.0 <https://github.com/PyCQA/pycodestyle/commit/543f12b06592c53e2e60edc4846ee02ab9550e8b/>`_, "E722 do not use bare except, specify exception instead" is built-in. However, bare ``Exception`` and ``BaseException`` are still allowed. This extension flags them as `B902`. -Using ``except`` without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like ``SIGINT``. You probably want to handle system interrupts differently than exceptions occuring in your code. +Using ``except`` without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like ``SIGINT``. You probably want to handle system interrupts differently than exceptions occurring in your code. It's also usually better style to have many small ``try``-``except`` blocks catching specific exceptions instead of a giant ``try:`` block with a catch-all ``except:`` at the bottom. It's also nicer to your fellow programmers to be a bit more specific about what exceptions they can expect in specific parts of the code, and what the proper course of action is when they occur. @@ -69,6 +69,10 @@ Changes ------- +0.2.1 - 2022-03-08 +`````````````````` +* Remove setuptools from install_requires (#8) + 0.2.0 - 2021-01-07 `````````````````` * B902 error added for cases where a blind ``Exception`` is caught. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/PKG-INFO new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/PKG-INFO --- old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/PKG-INFO 2021-01-07 20:33:13.000000000 +0100 +++ new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/PKG-INFO 2022-03-18 17:49:02.000000000 +0100 @@ -1,98 +1,105 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: flake8-blind-except -Version: 0.2.0 +Version: 0.2.1 Summary: A flake8 extension that checks for blind except: statements Home-page: https://github.com/elijahandrews/flake8-blind-except Author: Elijah Andrews Author-email: elijahcandr...@gmail.com License: MIT -Description: flake8-blind-except - =================== - - A flake8 extension that checks for blind, catch-all ``except:`` and ``except Exception:`` statements. - - As of `pycodestyle 2.1.0 <https://github.com/PyCQA/pycodestyle/commit/543f12b06592c53e2e60edc4846ee02ab9550e8b/>`_, "E722 do not use bare except, specify exception instead" is built-in. However, bare ``Exception`` and ``BaseException`` are still allowed. This extension flags them as `B902`. - - Using ``except`` without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like ``SIGINT``. You probably want to handle system interrupts differently than exceptions occuring in your code. - - It's also usually better style to have many small ``try``-``except`` blocks catching specific exceptions instead of a giant ``try:`` block with a catch-all ``except:`` at the bottom. It's also nicer to your fellow programmers to be a bit more specific about what exceptions they can expect in specific parts of the code, and what the proper course of action is when they occur. - - An example of code that will fail this check is: - - .. code-block:: python - - try: - something_scary() - except: - everybody_panic() - - However, the following code is valid: - - .. code-block:: python - - try: - something_terrifying() - except TerrifyingException: - dont_panic() - - Installation - ------------ - - If you don't already have it, install ``flake8``:: - - $ pip install flake8 - - Then, install the extension:: - - $ pip install flake8-blind-except - - Usage - ----- - - Run the following to verify that the plugin has been installed correctly:: - - $ flake8 --version - 2.0 (pep8: 1.4.6, flake8-blind-except: 0.1.0, pyflakes: 0.7.3) - - Now, when you run ``flake8``, the plugin will automatically be used. - - When a blind except is found, ``flake8`` will output:: - - B901 blind except: statement - - or:: - - B902 blind except Exception: statement - - Contributing - ------------ - - I'm not working on Python these days, so probably won't be making updates anytime soon. PRs are welcome though! - - Testing - ------- - - Tests can be run with ``pytest --doctest-modules flake8_blind_except.py``. - - Changes - ------- - - 0.2.0 - 2021-01-07 - `````````````````` - * B902 error added for cases where a blind ``Exception`` is caught. - - 0.1.1 - 2016-06-27 - `````````````````` - * ``pep8`` was renamed to ``pycodestyle`` in its 2.0 release. Compatibility update for this change. - - 0.1.0 - 2014-02-07 - `````````````````` - * Initial release - - Notes - ----- - - I've tested this package with flake8 2.6.2 + Python 2.7.3 and flake8 3.7.9 + Python 3.7.5. - Keywords: flake8 except exception Platform: UNKNOWN +License-File: LICENSE + +flake8-blind-except +=================== + +A flake8 extension that checks for blind, catch-all ``except:`` and ``except Exception:`` statements. + +As of `pycodestyle 2.1.0 <https://github.com/PyCQA/pycodestyle/commit/543f12b06592c53e2e60edc4846ee02ab9550e8b/>`_, "E722 do not use bare except, specify exception instead" is built-in. However, bare ``Exception`` and ``BaseException`` are still allowed. This extension flags them as `B902`. + +Using ``except`` without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like ``SIGINT``. You probably want to handle system interrupts differently than exceptions occurring in your code. + +It's also usually better style to have many small ``try``-``except`` blocks catching specific exceptions instead of a giant ``try:`` block with a catch-all ``except:`` at the bottom. It's also nicer to your fellow programmers to be a bit more specific about what exceptions they can expect in specific parts of the code, and what the proper course of action is when they occur. + +An example of code that will fail this check is: + +.. code-block:: python + + try: + something_scary() + except: + everybody_panic() + +However, the following code is valid: + +.. code-block:: python + + try: + something_terrifying() + except TerrifyingException: + dont_panic() + +Installation +------------ + +If you don't already have it, install ``flake8``:: + + $ pip install flake8 + +Then, install the extension:: + + $ pip install flake8-blind-except + +Usage +----- + +Run the following to verify that the plugin has been installed correctly:: + + $ flake8 --version + 2.0 (pep8: 1.4.6, flake8-blind-except: 0.1.0, pyflakes: 0.7.3) + +Now, when you run ``flake8``, the plugin will automatically be used. + +When a blind except is found, ``flake8`` will output:: + + B901 blind except: statement + +or:: + + B902 blind except Exception: statement + +Contributing +------------ + +I'm not working on Python these days, so probably won't be making updates anytime soon. PRs are welcome though! + +Testing +------- + +Tests can be run with ``pytest --doctest-modules flake8_blind_except.py``. + +Changes +------- + +0.2.1 - 2022-03-08 +`````````````````` +* Remove setuptools from install_requires (#8) + +0.2.0 - 2021-01-07 +`````````````````` +* B902 error added for cases where a blind ``Exception`` is caught. + +0.1.1 - 2016-06-27 +`````````````````` +* ``pep8`` was renamed to ``pycodestyle`` in its 2.0 release. Compatibility update for this change. + +0.1.0 - 2014-02-07 +`````````````````` +* Initial release + +Notes +----- + +I've tested this package with flake8 2.6.2 + Python 2.7.3 and flake8 3.7.9 + Python 3.7.5. + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/SOURCES.txt new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/SOURCES.txt --- old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/SOURCES.txt 2021-01-07 20:33:13.000000000 +0100 +++ new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/SOURCES.txt 2022-03-18 17:49:02.000000000 +0100 @@ -1,3 +1,4 @@ +LICENSE README.rst flake8_blind_except.py setup.py @@ -6,5 +7,4 @@ flake8_blind_except.egg-info/dependency_links.txt flake8_blind_except.egg-info/entry_points.txt flake8_blind_except.egg-info/not-zip-safe -flake8_blind_except.egg-info/requires.txt flake8_blind_except.egg-info/top_level.txt \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/entry_points.txt new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/entry_points.txt --- old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/entry_points.txt 2021-01-07 20:33:13.000000000 +0100 +++ new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/entry_points.txt 2022-03-18 17:49:02.000000000 +0100 @@ -1,3 +1,2 @@ [flake8.extension] B90 = flake8_blind_except:check_blind_except - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/requires.txt new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/requires.txt --- old/flake8-blind-except-0.2.0/flake8_blind_except.egg-info/requires.txt 2021-01-07 20:33:13.000000000 +0100 +++ new/flake8-blind-except-0.2.1/flake8_blind_except.egg-info/requires.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -setuptools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/flake8_blind_except.py new/flake8-blind-except-0.2.1/flake8_blind_except.py --- old/flake8-blind-except-0.2.0/flake8_blind_except.py 2021-01-07 20:33:11.000000000 +0100 +++ new/flake8-blind-except-0.2.1/flake8_blind_except.py 2022-03-18 17:45:39.000000000 +0100 @@ -4,7 +4,7 @@ import pep8 as pycodestyle import re -__version__ = '0.2.0' +__version__ = '0.2.1' BLIND_EXCEPT_REGEX = re.compile(r'(^[ \t]*except(.*\b(Base)?Exception\b.*)?:)') # noqa diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-blind-except-0.2.0/setup.py new/flake8-blind-except-0.2.1/setup.py --- old/flake8-blind-except-0.2.0/setup.py 2021-01-07 20:25:19.000000000 +0100 +++ new/flake8-blind-except-0.2.1/setup.py 2022-03-18 17:43:56.000000000 +0100 @@ -22,7 +22,6 @@ version=get_version(), author='Elijah Andrews', author_email='elijahcandr...@gmail.com', - install_requires=['setuptools'], entry_points={ 'flake8.extension': [ 'B90 = flake8_blind_except:check_blind_except'