diff --git a/flake8-quotes-1.0.0.tar.gz b/flake8-quotes-1.0.0.tar.gz deleted file mode 100644 index 2efefa5..0000000 --- a/flake8-quotes-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd9127ad8bbcf3b546fa7871a5266fd8623ce765ebe3d5aa5eabb80c01212b26 -size 10472 diff --git a/flake8-quotes-2.0.1.tar.gz b/flake8-quotes-2.0.1.tar.gz new file mode 100644 index 0000000..1b7b20c --- /dev/null +++ b/flake8-quotes-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10c9af6b472d4302a8e721c5260856c3f985c5c082b04841aefd2f808ac02038 +size 12517 diff --git a/python-flake8-quotes.changes b/python-flake8-quotes.changes index 99ad626..8e51d77 100644 --- a/python-flake8-quotes.changes +++ b/python-flake8-quotes.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue May 21 11:52:58 UTC 2019 - Marketa Calabkova + +- 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 diff --git a/python-flake8-quotes.spec b/python-flake8-quotes.spec index c5be9cc..e87ae9c 100644 --- a/python-flake8-quotes.spec +++ b/python-flake8-quotes.spec @@ -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}/*