15
0

Accepting request 1083470 from devel:languages:python

- update to 23.3.23:
  * flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0
  * This has allowed some more modern AST usage cleanup and less
    CI running etc.
  * B030: Fix crash on certain unusual except handlers (e.g.
    ``except a[0].b:``)
  * B950: now ignores 'noqa' and 'type: ignore' comments.
  * B005: Do not flag when using the ``strip()`` method on an
    imported module.
  * B030: Allow calls and starred expressions in except handlers.

OBS-URL: https://build.opensuse.org/request/show/1083470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-bugbear?expand=0&rev=12
This commit is contained in:
2023-04-28 14:24:13 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 7 deletions

View File

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

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Apr 28 08:01:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 23.3.23:
* flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0
* This has allowed some more modern AST usage cleanup and less
CI running etc.
* B030: Fix crash on certain unusual except handlers (e.g.
``except a[0].b:``)
* B950: now ignores 'noqa' and 'type: ignore' comments.
* B005: Do not flag when using the ``strip()`` method on an
imported module.
* B030: Allow calls and starred expressions in except handlers.
-------------------------------------------------------------------
Wed Feb 15 19:44:55 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-flake8-bugbear
Version: 23.2.13
Version: 23.3.23
Release: 0
Summary: A plugin for flake8 finding likely bugs and design problems in your program
License: MIT
@@ -27,8 +27,8 @@ Group: Development/Languages/Python
URL: https://github.com/PyCQA/flake8-bugbear
Source: https://files.pythonhosted.org/packages/source/f/flake8-bugbear/flake8-bugbear-%{version}.tar.gz
BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module flake8 >= 3.0.0}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module flake8 >= 6.0.0}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module hypothesmith}
BuildRequires: %{python_module pytest}
@@ -36,7 +36,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs >= 19.2.0
Requires: python-flake8 >= 3.0.0
Requires: python-flake8 >= 6.0.0
BuildArch: noarch
%python_subpackages