15
0

Accepting request 704445 from home:mcalabkova:branches:devel:languages:python

- Update to version 2.0.1
  * We automatically encourage avoiding escaping quotes as per 
    PEP 8. To disable this, use --no-avoid-escape (can be used 
    in configuration file via avoid-escape).
  * Add note about warning.

OBS-URL: https://build.opensuse.org/request/show/704445
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-quotes?expand=0&rev=7
This commit is contained in:
2019-05-21 15:18:06 +00:00
committed by Git OBS Bridge
parent acb1329898
commit 29f92aa683
4 changed files with 23 additions and 15 deletions

View File

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

View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue May 21 11:52:58 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- Update to version 2.0.1
* We automatically encourage avoiding escaping quotes as per
PEP 8. To disable this, use --no-avoid-escape (can be used
in configuration file via avoid-escape).
* Add note about warning.
-------------------------------------------------------------------
Tue Dec 4 12:48:07 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-quotes
#
# 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
@@ -17,25 +17,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests require access to stdin
%bcond_with test
%bcond_without test
Name: python-flake8-quotes
Version: 1.0.0
Version: 2.0.1
Release: 0
Summary: Flake8 lint for quotes
License: MIT
Group: Development/Languages/Python
Url: http://github.com/zheller/flake8-quotes/
URL: http://github.com/zheller/flake8-quotes/
Source: https://files.pythonhosted.org/packages/source/f/flake8-quotes/flake8-quotes-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module flake8}
%endif
Requires: python-flake8
Requires: python-flake8 >= 3.3.0
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module flake8 >= 3.3.0}
BuildRequires: %{python_module pytest}
%endif
%python_subpackages
%description
@@ -53,11 +52,11 @@ Flake8 Extension to lint for quotes.
%if %{with test}
%check
%python_exec setup.py test
# Tests require access to stdin
%pytest -s -k "not test_stdin" test
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python_sitelib}/*