forked from pool/python-flake8-bugbear
- Update to 20.1.4:
* Ignore keywords for B009/B010 * Silence B009/B010 for non-identifiers * State an ignore might be needed for optional B9x checks * Fix error on attributes-of-attributes in except (...): clauses * Allow continue/break within loops in finally clauses for B012 * For B001, also check for except (): * Introduce B013 and B014 to check tuples in except (..., ): statements * Warn about continue/return/break in finally block (#100) * Removed a colon from the descriptive message in B008. (#96) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
59fa456658
commit
1ec54514b3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8c466ea79d5020cb20bf9f11cf349026e09517a42264f313d3f6fddb83e0571
|
||||
size 22948
|
||||
3
flake8-bugbear-20.1.4.tar.gz
Normal file
3
flake8-bugbear-20.1.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd02e4b009fb153fe6072c31c52aeab5b133d508095befb2ffcf3b41c4823162
|
||||
size 25933
|
||||
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 11:09:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 20.1.4:
|
||||
* Ignore keywords for B009/B010
|
||||
* Silence B009/B010 for non-identifiers
|
||||
* State an ignore might be needed for optional B9x checks
|
||||
* Fix error on attributes-of-attributes in except (...): clauses
|
||||
* Allow continue/break within loops in finally clauses for B012
|
||||
* For B001, also check for except ():
|
||||
* Introduce B013 and B014 to check tuples in except (..., ): statements
|
||||
* Warn about continue/return/break in finally block (#100)
|
||||
* Removed a colon from the descriptive message in B008. (#96)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 07:31:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-bugbear
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,19 +19,24 @@
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-flake8-bugbear
|
||||
Version: 19.8.0
|
||||
Version: 20.1.4
|
||||
Release: 0
|
||||
Summary: A plugin for flake8 finding likely bugs and design problems in your program
|
||||
License: MIT
|
||||
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}
|
||||
BuildRequires: %{python_module attrs >= 19.2.0}
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module flake8 >= 3.0.0}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module hypothesmith}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-attrs >= 19.2.0
|
||||
Requires: python-flake8 >= 3.0.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -51,8 +56,8 @@ pycodestyle.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# https://github.com/PyCQA/flake8-bugbear/issues/89
|
||||
%pytest -k 'not test_selfclean_bugbear'
|
||||
# Fuzz testing needs fast machine for quick enough data responses
|
||||
%pytest -k 'not TestFuzz'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user