17
0

Accepting request 730531 from devel:languages:python

- 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/request/show/730531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-docstrings?expand=0&rev=5
This commit is contained in:
Ludwig Nussel
2019-09-13 13:02:40 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 5 deletions

View File

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

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Sep 13 07:26:58 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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
-------------------------------------------------------------------
Sat Aug 3 14:26:11 UTC 2019 - Arun Persaud <arun@gmx.de>

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