From 4197b78533e77f1025e7ddbace24083c9d889f9809a08ce9edfe4d6894e7380c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 13 Sep 2019 07:28:36 +0000 Subject: [PATCH] - 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 --- flake8-docstrings-1.3.1.tar.gz | 3 --- flake8-docstrings-1.4.0.tar.gz | 3 +++ python-flake8-docstrings.changes | 14 ++++++++++++++ python-flake8-docstrings.spec | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 flake8-docstrings-1.3.1.tar.gz create mode 100644 flake8-docstrings-1.4.0.tar.gz diff --git a/flake8-docstrings-1.3.1.tar.gz b/flake8-docstrings-1.3.1.tar.gz deleted file mode 100644 index e286c20..0000000 --- a/flake8-docstrings-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d8d72ccd5807c1ab9ff1466cb9bece0c4d94b8669e9bc4f472abc80dbc5d399e -size 4904 diff --git a/flake8-docstrings-1.4.0.tar.gz b/flake8-docstrings-1.4.0.tar.gz new file mode 100644 index 0000000..99f64f8 --- /dev/null +++ b/flake8-docstrings-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c0db5a79a1affd70fdf53b8765c8a26bf968e59e0252d7f2fc546b41c0cda06 +size 5567 diff --git a/python-flake8-docstrings.changes b/python-flake8-docstrings.changes index b69a1ac..145f664 100644 --- a/python-flake8-docstrings.changes +++ b/python-flake8-docstrings.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Sep 13 07:26:58 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-flake8-docstrings.spec b/python-flake8-docstrings.spec index fbeb85f..613ba2b 100644 --- a/python-flake8-docstrings.spec +++ b/python-flake8-docstrings.spec @@ -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