15
0

- update to 0.13.2:

* Formally require Python 3.7 or later using ``python_requires``.
  * Fix warnings related to deprecated options syntax.
  * ``setUpModule`` and ``tearDownModule`` are now exempted by default.
- drop add-missing-option-for-testsuite.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pep8-naming?expand=0&rev=22
This commit is contained in:
2022-09-19 08:21:09 +00:00
committed by Git OBS Bridge
parent e197ca42eb
commit 86e34caa60
5 changed files with 14 additions and 27 deletions

View File

@@ -1,22 +0,0 @@
From 03b8f36f6a8bb8bc79dfa5a71ad9be2a0bf8bbf5 Mon Sep 17 00:00:00 2001
From: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
Date: Wed, 20 Oct 2021 07:58:49 -0500
Subject: [PATCH] Add missing option to get passing tests
Related to https://github.com/PyCQA/pep8-naming/pull/180
---
run_tests.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/run_tests.py b/run_tests.py
index 64d80b5..660fede 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -86,6 +86,7 @@ def parse_options(checker, options):
options_manager = OptionsManager('flake8')
options_manager.add_option('--select', default=[])
options_manager.add_option('--extended-default-select', default=['N'])
+ options_manager.add_option('--extend-select', default=[])
options_manager.add_option('--ignore', default=[])
options_manager.add_option('--extend-ignore', default=[])
options_manager.add_option('--enable-extensions', default=[])

View File

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

View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 19 08:18:29 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.13.2:
* Formally require Python 3.7 or later using ``python_requires``.
* Fix warnings related to deprecated options syntax.
* ``setUpModule`` and ``tearDownModule`` are now exempted by default.
- drop add-missing-option-for-testsuite.patch (obsolete)
-------------------------------------------------------------------
Mon Feb 7 04:03:47 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -18,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pep8-naming
Version: 0.12.1
Version: 0.13.2
Release: 0
Summary: Flake8 plugin for checking PEP-8 naming conventions
License: MIT
URL: https://github.com/PyCQA/pep8-naming
Source: https://files.pythonhosted.org/packages/source/p/pep8-naming/pep8-naming-%{version}.tar.gz
Patch0: add-missing-option-for-testsuite.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros