From de2a2e3d917a47b5fea6191e9cb903574f5bbeff75dea0893db05fb062f52536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 2 Feb 2019 18:39:49 +0000 Subject: [PATCH] Accepting request 670735 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/670735 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pep8-naming?expand=0&rev=9 --- pep8-naming-0.7.0.tar.gz | 3 --- pep8-naming-0.8.0.tar.gz | 3 +++ python-pep8-naming.changes | 19 +++++++++++++++++++ python-pep8-naming.spec | 15 +++++++-------- 4 files changed, 29 insertions(+), 11 deletions(-) delete mode 100644 pep8-naming-0.7.0.tar.gz create mode 100644 pep8-naming-0.8.0.tar.gz diff --git a/pep8-naming-0.7.0.tar.gz b/pep8-naming-0.7.0.tar.gz deleted file mode 100644 index d1db09f..0000000 --- a/pep8-naming-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:624258e0dd06ef32a9daf3c36cc925ff7314da7233209c5b01f7e5cdd3c34826 -size 10702 diff --git a/pep8-naming-0.8.0.tar.gz b/pep8-naming-0.8.0.tar.gz new file mode 100644 index 0000000..20b3e3a --- /dev/null +++ b/pep8-naming-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65afe400096400720ba6ca4c3d502d92ebf02f661c1e4ee0ae59472c05463324 +size 14472 diff --git a/python-pep8-naming.changes b/python-pep8-naming.changes index cfbd5dd..00fb192 100644 --- a/python-pep8-naming.changes +++ b/python-pep8-naming.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sat Feb 2 17:04:38 UTC 2019 - Arun Persaud + +- specfile: + * update copyright year + +- update to version 0.8.0: + * Detect N806 errors within for loops and exception handlers. + * Improve support for non-ASCII characters. + * Detect mixedCased variable names at class (N815) and global (N816) + scope. + * Ignore Django's setUpTestData method by default. + * Fix column offsets for N803, N804, and N805 under Python 3. + * Detect underscores within class names as N801 errors. + * Don't flag __getattr__ and __dir__ as N807 errors. (See PEP 562). + * async function and method names are now checked. + * Detect N806 errors in generator expressions and comprehensions. + * Detect N81x errors in import x as y statements. + ------------------------------------------------------------------- Tue Dec 4 12:51:26 UTC 2018 - Matej Cepl diff --git a/python-pep8-naming.spec b/python-pep8-naming.spec index 4ef2a0b..7831e4b 100644 --- a/python-pep8-naming.spec +++ b/python-pep8-naming.spec @@ -1,7 +1,7 @@ # # spec file for package python-pep8-naming # -# 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 @@ -18,25 +18,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pep8-naming -Version: 0.7.0 +Version: 0.8.0 Release: 0 Summary: Flake8 plugin for checking PEP-8 naming conventions License: MIT Group: Development/Languages/Python -Url: https://github.com/flintwork/pep8-naming +URL: https://github.com/flintwork/pep8-naming Source: https://files.pythonhosted.org/packages/source/p/pep8-naming/pep8-naming-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module flake8-polyfill >= 1.0.2} -BuildRequires: %{python_module flake8} -# /SECTION Requires: python-flake8 Requires: python-flake8-polyfill >= 1.0.2 Requires: python-setuptools BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module flake8-polyfill >= 1.0.2} +BuildRequires: %{python_module flake8} +# /SECTION %python_subpackages %description