forked from pool/python-flake8-builtins
- Update to 1.5.2:
* Add python3.8 support. [sobolevn] * Add AnnAssign support. [soboelvn] * Add NamedExpr or := support. [sobolevn] * Adds kwonly and posonly args support. [sobolevn] * Add DictComp, SetComp, and GeneratorExpr support. [sobolevn] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-builtins?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
dde176cba6
commit
6e3489e5fe
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd7b1b7fec4905386a3643b59f9ca8e305768da14a49a7efb31fe9364f33cd04
|
||||
size 17873
|
||||
3
flake8-builtins-1.5.2.tar.gz
Normal file
3
flake8-builtins-1.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe7be13fe51bfb06bdae6096c6488e328c822c3aa080e24b91b77116a4fbb8b0
|
||||
size 16267
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 10:50:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.5.2:
|
||||
* Add python3.8 support. [sobolevn]
|
||||
* Add AnnAssign support. [soboelvn]
|
||||
* Add NamedExpr or := support. [sobolevn]
|
||||
* Adds kwonly and posonly args support. [sobolevn]
|
||||
* Add DictComp, SetComp, and GeneratorExpr support. [sobolevn]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 24 16:29:42 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flake8-builtins
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,30 +17,25 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-flake8-builtins
|
||||
Version: 1.4.1
|
||||
Version: 1.5.2
|
||||
Release: 0
|
||||
Summary: Flake8 Builtins plugin
|
||||
License: GPL-2.0-only
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/gforcada/flake8-builtins
|
||||
URL: https://github.com/gforcada/flake8-builtins
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-builtins/flake8-builtins-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-flake8
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module hypothesmith}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-flake8
|
||||
Suggests: python-coverage
|
||||
Suggests: python-coveralls
|
||||
Suggests: python-mock
|
||||
Suggests: python-pytest
|
||||
Suggests: python-pytest-cov
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -57,10 +52,11 @@ This plugin checks for Python builtins being used as variables or parameters.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest run_tests.py
|
||||
# test_builtin_works_on_many_examples - will crash in obs as it is speed related
|
||||
%pytest run_tests.py -k 'not test_builtin_works_on_many_examples'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE LICENSE.rst
|
||||
%license LICENSE
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user