From ab5573ce7fcbe1547779e835ff20c07fdb42d87674e65a4749583302ba71475c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 1 Apr 2019 13:31:42 +0000 Subject: [PATCH] - 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 --- flake8-bugbear-18.8.0.tar.gz | 3 --- flake8-bugbear-19.3.0.tar.gz | 3 +++ python-flake8-bugbear.changes | 10 ++++++++++ python-flake8-bugbear.spec | 6 ++++-- 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 flake8-bugbear-18.8.0.tar.gz create mode 100644 flake8-bugbear-19.3.0.tar.gz diff --git a/flake8-bugbear-18.8.0.tar.gz b/flake8-bugbear-18.8.0.tar.gz deleted file mode 100644 index a984a6d..0000000 --- a/flake8-bugbear-18.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ccf56975f4db1d69dc1cf3598c99d768ebf95d0cad27d76087954aa399b515a -size 21951 diff --git a/flake8-bugbear-19.3.0.tar.gz b/flake8-bugbear-19.3.0.tar.gz new file mode 100644 index 0000000..eaa84ae --- /dev/null +++ b/flake8-bugbear-19.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5070774b668be92c4312e5ca82748ddf4ecaa7a24ff062662681bb745c7896eb +size 22624 diff --git a/python-flake8-bugbear.changes b/python-flake8-bugbear.changes index 654c1b4..d2cbb2b 100644 --- a/python-flake8-bugbear.changes +++ b/python-flake8-bugbear.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Apr 1 13:29:24 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-flake8-bugbear.spec b/python-flake8-bugbear.spec index 79794cd..976c35c 100644 --- a/python-flake8-bugbear.spec +++ b/python-flake8-bugbear.spec @@ -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