forked from pool/python-flake8-bugbear
Accepting request 1067208 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1067208 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-bugbear?expand=0&rev=11
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4cdb2c06e229971104443ae293e75e64c6107798229202fbe4f4091427a30ac0
|
||||
size 44094
|
||||
3
flake8-bugbear-23.2.13.tar.gz
Normal file
3
flake8-bugbear-23.2.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39259814a83f33c8409417ee12dd4050c9c0bb4c8707c12fc18ae62b2f3ddee1
|
||||
size 52898
|
||||
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 19:44:55 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 23.2.13:
|
||||
* B906: Add visit_Bytes, visit_Num and visit_Str to
|
||||
the list of visit_* functions that are ignored by the B906
|
||||
check.
|
||||
* B016: Warn when raising f-strings.
|
||||
* Add B028: Check for an explicit stacklevel keyword argument
|
||||
on the warn method from the warnings module.
|
||||
* Add B029: Check when trying to use ``except`` with an empty
|
||||
tuple i.e. ``except: ()``.
|
||||
* Add B032: Check for possible unintentional type annotations
|
||||
instead of assignments.
|
||||
* B024: now ignores classes without any methods. (#336)
|
||||
* B017: Don't warn when ``pytest.raises()`` has a ``match``
|
||||
argument. (#334)
|
||||
* B906: Ignore ``visit_`` functions with a ``_fields``
|
||||
attribute that can't contain ast.AST subnodes. (#330)
|
||||
* Rename B028 to B907, making it optional/opinionated.
|
||||
* Add B906: ``visit_`` function with no further calls to a
|
||||
``visit`` function. (#313)
|
||||
* Add B028: Suggest ``!r`` when formatted value in f-string is
|
||||
surrounded by quotes. (#319)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 20:59:46 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-bugbear
|
||||
#
|
||||
# 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,7 +19,7 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-flake8-bugbear
|
||||
Version: 22.12.6
|
||||
Version: 23.2.13
|
||||
Release: 0
|
||||
Summary: A plugin for flake8 finding likely bugs and design problems in your program
|
||||
License: MIT
|
||||
|
||||
Reference in New Issue
Block a user