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,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