15
0

Accepting request 1169387 from devel:languages:python

- update to 1.7.0:
  * tomli dependency for Python versions < 3.11, making use of
    tomllib in the standard library with 3.11+ (#150).
  * Support for pyi file extensions (and leave room for other
    file extensions to be added, like maybe ipynb).
  * Support for Google-style docstrings for class __init__
    methods with new --style [sphinx|google] flag (#128).
  * Include support for deleters when ignoring property
    decorators (#126
    <https://github.com/econchick/interrogate/issues/126>_).
  * Support floats for --fail-under values (#114).
  * toml dependency for all Python versions (#150).
  * Add --ignore-overloaded-functions flag to ignore overload
    decorators (#97) – thank you ErwinJunge (via #167) and
    zackyancey.
  * Support for Python 3.11 & 3.12.
  * Support for Python 3.6 & 3.7.

OBS-URL: https://build.opensuse.org/request/show/1169387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-interrogate?expand=0&rev=3
This commit is contained in:
2024-04-21 18:27:53 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 8 deletions

View File

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

3
interrogate-1.7.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Apr 20 15:35:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.7.0:
* tomli dependency for Python versions < 3.11, making use of
tomllib in the standard library with 3.11+ (#150).
* Support for pyi file extensions (and leave room for other
file extensions to be added, like maybe ipynb).
* Support for Google-style docstrings for class __init__
methods with new --style [sphinx|google] flag (#128).
* Include support for deleters when ignoring property
decorators (#126
<https://github.com/econchick/interrogate/issues/126>_).
* Support floats for --fail-under values (#114).
* toml dependency for all Python versions (#150).
* Add --ignore-overloaded-functions flag to ignore overload
decorators (#97) thank you ErwinJunge (via #167) and
zackyancey.
* Support for Python 3.11 & 3.12.
* Support for Python 3.6 & 3.7.
-------------------------------------------------------------------
Thu Sep 29 02:42:55 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-interrogate
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-interrogate
Version: 1.5.0
Version: 1.7.0
Release: 0
Summary: Interrogate a codebase for docstring coverage
License: MIT
@@ -33,9 +33,11 @@ Requires: python-click
Requires: python-colorama
Requires: python-py
Requires: python-tabulate
Requires: python-toml
%if 0%{python_version_nodots} < 311
Requires: python-tomli
%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module attrs}
@@ -45,7 +47,7 @@ BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py}
BuildRequires: %{python_module tabulate}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module tomli if %python-version < 3.11}
# /SECTION
%python_subpackages