15
0

- Update to 1.4.0:

* Add --docstring-convention option which allows selection of conventions
    besides the default pep257.  Available options are based on those
    available from pydocstyle and are currently pep257, google, and
    numpy.  flake8-docstrings also adds a special all docstring
    convention which will enable all rules from pydocstyle.  Note that
    pydocstyle defines some conflicting rules so you'll want to use
    ignore / extend-ignore when selecting docstring-convention = all
  * Bump minimum flake8 version to 3
  * Fix proper handling of stdin via --stdin-display-name

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-docstrings?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2019-09-13 07:28:36 +00:00
committed by Git OBS Bridge
parent ccc4098d6a
commit 4197b78533
4 changed files with 19 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-flake8-docstrings
Version: 1.3.1
Version: 1.4.0
Release: 0
Summary: Extension for flake8 which uses pydocstyle to check docstrings
License: MIT
@@ -28,7 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/f/flake8-docstrin
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flake8
Requires: python-flake8 >= 3
Requires: python-flake8-polyfill
Requires: python-pydocstyle >= 2.1.0
BuildArch: noarch