15
0

Accepting request 730552 from devel:languages:python

- Update to 19.8.0:
  * Fix .travis.yml syntax + add Python 3.8 + nightly tests
  * Fix black formatting + enforce via CI
  * Make B901 not apply to __await__ methods

OBS-URL: https://build.opensuse.org/request/show/730552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-bugbear?expand=0&rev=5
This commit is contained in:
2019-09-17 11:36:02 +00:00
committed by Git OBS Bridge
4 changed files with 15 additions and 6 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 13 07:31:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 19.8.0:
* Fix .travis.yml syntax + add Python 3.8 + nightly tests
* Fix black formatting + enforce via CI
* Make B901 not apply to __await__ methods
-------------------------------------------------------------------
Mon Apr 1 13:29:24 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-flake8-bugbear
Version: 19.3.0
Version: 19.8.0
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}
BuildRequires: %{python_module base}
BuildRequires: %{python_module flake8 >= 3.0.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -51,7 +51,8 @@ pycodestyle.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
# https://github.com/PyCQA/flake8-bugbear/issues/89
%pytest -k 'not test_selfclean_bugbear'
%files %{python_files}
%license LICENSE