diff --git a/integration-tests-invocation.patch b/integration-tests-invocation.patch index 0a58b5c..2856bc9 100644 --- a/integration-tests-invocation.patch +++ b/integration-tests-invocation.patch @@ -14,7 +14,7 @@ diff --git a/src/tests/test_integration.py b/src/tests/test_integration.py index d4ee72b..1f9507f 100644 --- a/src/tests/test_integration.py +++ b/src/tests/test_integration.py -@@ -80,9 +80,10 @@ def invoke(self, args="", target=None): +@@ -81,9 +81,10 @@ def invoke(self, args="", target=None): run_target = self.tempdir if target is None else \ os.path.join(self.tempdir, target) @@ -28,8 +28,8 @@ index d4ee72b..1f9507f 100644 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) -@@ -203,7 +204,7 @@ def test_run_as_named_module(): - return +@@ -201,7 +202,7 @@ def test_run_as_named_module(): + """ # Add --match='' so that no files are actually checked (to make sure that # the return code is 0 and to reduce execution time). - cmd = shlex.split("python -m pydocstyle --match=''") diff --git a/pydocstyle-4.0.1.tar.gz b/pydocstyle-4.0.1.tar.gz deleted file mode 100644 index 85f04c8..0000000 --- a/pydocstyle-4.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:15cda50d4ede4a90e8ceb53c42234408d7e6b5e73914c5ccbb55556e7b28e914 -size 61440 diff --git a/pydocstyle-5.0.2.tar.gz b/pydocstyle-5.0.2.tar.gz new file mode 100644 index 0000000..22a3c34 --- /dev/null +++ b/pydocstyle-5.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51543d61812f1b3a7195c122de4db2102b4cce07fe48cdac0eb59edf5b2cd8e0 +size 68063 diff --git a/python-pydocstyle.changes b/python-pydocstyle.changes index 0169107..219e70c 100644 --- a/python-pydocstyle.changes +++ b/python-pydocstyle.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Sun Feb 9 17:08:50 UTC 2020 - Arun Persaud + +- specfile: + * update copyright year + * updated line numbers for patch + * be more specific in %files section + +- update to version 5.0.2: + * Bug Fixes + + Fix DeprecationWarning / SyntaxError "invalid escape sequence" + with Python 3.6+ (#445). + +- changes from version 5.0.1 : + * Bug Fixes + + Fixed an issue where AttributeError was raised when parsing the + parameter section of a class docstring (#434, #436). + +- changes from version 5.0.0 : + * Major Updates + + Support for Python 3.4 has been dropped (#402). + * New Features + + Extend support for detecting missing arguments in Google style + docstrings to method calls (#384). + + Extend support for detecting missing argument description in + Numpy style docstrings (#407). + + Added support for Python 3.8 (#423). + + Allow skipping errors on module level docstring via #noqa + (#427). + + Whitespace is ignored with set options split across multiple + lines (#221). + * Bug Fixes + + Remove D413 from the google convention (#430). + + Remove D413 from the pep257 convention (#404). + + Replace semicolon with colon in D416 messages. (#409) + + D301 (Use r""" if any backslashes in a docstring) does not + trigger on backslashes for line continuation or unicode literals + \u... and \N... anymore. These are considered intended elements + of the docstring and thus should not be escaped by using a raw + docstring (#365). + + Fix decorator parsing (#411). + + Google-style sections no longer cause false errors when used + with Numpy-style sections (#388, #424). + + D202: Allow a blank line after function docstring when followed + by declaration of an inner function or class (#395, #426). + + Fix D401 and D404 checks not working for docstrings containing + only one word and ending with non-alpha character (#421) + ------------------------------------------------------------------- Sun Sep 15 07:26:46 UTC 2019 - John Vandenberg diff --git a/python-pydocstyle.spec b/python-pydocstyle.spec index 3d0f12c..bb6f0c1 100644 --- a/python-pydocstyle.spec +++ b/python-pydocstyle.spec @@ -1,7 +1,7 @@ # # spec file for package python-pydocstyle # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pydocstyle -Version: 4.0.1 +Version: 5.0.2 Release: 0 Summary: Python docstring style checker License: MIT @@ -85,6 +85,7 @@ export PYTHONPATH=$(pwd)/src %doc README.rst %license LICENSE-MIT %python3_only %{_bindir}/pydocstyle -%{python_sitelib}/* +%{python_sitelib}/pydocstyle +%{python_sitelib}/pydocstyle-%{version}-py*.egg-info %changelog