diff --git a/flake8-bugbear-18.2.0.tar.gz b/flake8-bugbear-18.2.0.tar.gz deleted file mode 100644 index a737ddc..0000000 --- a/flake8-bugbear-18.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f14a99d458e29cb92be9079c970030e0dd398b2decb179d76d39a5266ea1578 -size 21550 diff --git a/flake8-bugbear-18.8.0.tar.gz b/flake8-bugbear-18.8.0.tar.gz new file mode 100644 index 0000000..a984a6d --- /dev/null +++ b/flake8-bugbear-18.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ccf56975f4db1d69dc1cf3598c99d768ebf95d0cad27d76087954aa399b515a +size 21951 diff --git a/python-flake8-bugbear.changes b/python-flake8-bugbear.changes index ca86683..654c1b4 100644 --- a/python-flake8-bugbear.changes +++ b/python-flake8-bugbear.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Nov 2 21:34:53 UTC 2018 - Matej Cepl + +- Update to 18.8.0: + * Exclude immutable calls like tuple() and frozenset() from B008 + * Examine kw-only args for mutable defaults + * Black all the .py files - Like one should (#48) + * Add testing and document support for the Python 3.7 release + * Avoid adding the visitor as an __init__ parameter (Fixes #39) + (#40) + * Add trove classifier 'Programming Language :: Python :: 3 :: Only' + * Fix pathlib link in readme (#36) + ------------------------------------------------------------------- Wed Jul 18 11:36:14 UTC 2018 - tchvatal@suse.com diff --git a/python-flake8-bugbear.spec b/python-flake8-bugbear.spec index 6b77d8e..79794cd 100644 --- a/python-flake8-bugbear.spec +++ b/python-flake8-bugbear.spec @@ -12,26 +12,27 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-bugbear -Version: 18.2.0 +Version: 18.8.0 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 +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 base >= 3.5} +BuildRequires: %{python_module attrs} +BuildRequires: %{python_module base} +BuildRequires: %{python_module flake8 >= 3.0.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -49,6 +50,9 @@ pycodestyle. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_exec setup.py test + %files %{python_files} %{python_sitelib}/*