15
0

- Update to 19.3.0:

* allow 'mcs' for metaclass classmethod first arg (PyCharm default)
  * Introduce B011
  * Introduce B009 and B010
  * Exclude immutable calls like tuple() and frozenset() from B008
  * For B902, the first argument for metaclass class methods can be "mcs", matching the name preferred by PyCharm.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-04-01 13:31:42 +00:00
committed by Git OBS Bridge
parent 009964884e
commit ab5573ce7f
4 changed files with 17 additions and 5 deletions

View File

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

View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Apr 1 13:29:24 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 19.3.0:
* allow 'mcs' for metaclass classmethod first arg (PyCharm default)
* Introduce B011
* Introduce B009 and B010
* Exclude immutable calls like tuple() and frozenset() from B008
* For B902, the first argument for metaclass class methods can be "mcs", matching the name preferred by PyCharm.
-------------------------------------------------------------------
Fri Nov 2 21:34:53 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-bugbear
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: 18.8.0
Version: 19.3.0
Release: 0
Summary: A plugin for flake8 finding likely bugs and design problems in your program
License: MIT
@@ -54,6 +54,8 @@ pycodestyle.
%python_exec setup.py test
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog