Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flake8-docstrings for
openSUSE:Factory checked in at 2022-01-15 20:05:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-docstrings (Old)
and /work/SRC/openSUSE:Factory/.python-flake8-docstrings.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flake8-docstrings"
Sat Jan 15 20:05:18 2022 rev:9 rq:946649 version:1.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-flake8-docstrings/python-flake8-docstrings.changes
2020-01-13 22:21:32.390518660 +0100
+++
/work/SRC/openSUSE:Factory/.python-flake8-docstrings.new.1892/python-flake8-docstrings.changes
2022-01-15 20:05:31.877774512 +0100
@@ -1,0 +2,6 @@
+Sat Jan 15 15:44:16 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 1.6.0:
+ * Fix ``--ignore-noqa`` by disabling ``pydocstyle``'s ``noqa`` handling.
+
+-------------------------------------------------------------------
Old:
----
flake8-docstrings-1.5.0.tar.gz
New:
----
flake8-docstrings-1.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flake8-docstrings.spec ++++++
--- /var/tmp/diff_new_pack.l6Tbt3/_old 2022-01-15 20:05:33.021775404 +0100
+++ /var/tmp/diff_new_pack.l6Tbt3/_new 2022-01-15 20:05:33.025775407 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-flake8-docstrings
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 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-flake8-docstrings
-Version: 1.5.0
+Version: 1.6.0
Release: 0
Summary: Extension for flake8 which uses pydocstyle to check docstrings
License: MIT
++++++ flake8-docstrings-1.5.0.tar.gz -> flake8-docstrings-1.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-docstrings-1.5.0/HISTORY.rst
new/flake8-docstrings-1.6.0/HISTORY.rst
--- old/flake8-docstrings-1.5.0/HISTORY.rst 2019-09-30 18:07:58.000000000
+0200
+++ new/flake8-docstrings-1.6.0/HISTORY.rst 2021-03-19 01:56:06.000000000
+0100
@@ -1,6 +1,11 @@
History/Changelog
=================
+1.6.0
+-----
+
+- Fix ``--ignore-noqa`` by disabling ``pydocstyle``'s ``noqa`` handling.
+
1.5.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-docstrings-1.5.0/PKG-INFO
new/flake8-docstrings-1.6.0/PKG-INFO
--- old/flake8-docstrings-1.5.0/PKG-INFO 2019-09-30 18:09:02.000000000
+0200
+++ new/flake8-docstrings-1.6.0/PKG-INFO 2021-03-19 01:56:50.975830600
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: flake8-docstrings
-Version: 1.5.0
+Version: 1.6.0
Summary: Extension for flake8 which uses pydocstyle to check docstrings
Home-page: https://gitlab.com/pycqa/flake8-docstrings
Author: Simon ANDR??
@@ -29,6 +29,10 @@
The default is ``pep257``, pydocstyle v2.0.0 added ``numpy`` (for the
numpydoc
standard), while pydocstyle v4.0.0 added ``google``.
+ In order to choose a custom list of error codes, use the special value
+ ``docstring-convention=all``, then choose the codes you want checked
using
+ flake8_'s built-in ``--ignore``/``--select`` functionality.
+
Report any issues on our `bug tracker`_.
.. _pydocstyle: https://github.com/pycqa/pydocstyle
@@ -40,6 +44,11 @@
History/Changelog
=================
+ 1.6.0
+ -----
+
+ - Fix ``--ignore-noqa`` by disabling ``pydocstyle``'s ``noqa``
handling.
+
1.5.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-docstrings-1.5.0/README.rst
new/flake8-docstrings-1.6.0/README.rst
--- old/flake8-docstrings-1.5.0/README.rst 2019-09-30 18:06:42.000000000
+0200
+++ new/flake8-docstrings-1.6.0/README.rst 2021-03-19 01:27:49.000000000
+0100
@@ -19,6 +19,10 @@
The default is ``pep257``, pydocstyle v2.0.0 added ``numpy`` (for the numpydoc
standard), while pydocstyle v4.0.0 added ``google``.
+In order to choose a custom list of error codes, use the special value
+``docstring-convention=all``, then choose the codes you want checked using
+flake8_'s built-in ``--ignore``/``--select`` functionality.
+
Report any issues on our `bug tracker`_.
.. _pydocstyle: https://github.com/pycqa/pydocstyle
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/flake8-docstrings-1.5.0/flake8_docstrings.egg-info/PKG-INFO
new/flake8-docstrings-1.6.0/flake8_docstrings.egg-info/PKG-INFO
--- old/flake8-docstrings-1.5.0/flake8_docstrings.egg-info/PKG-INFO
2019-09-30 18:09:02.000000000 +0200
+++ new/flake8-docstrings-1.6.0/flake8_docstrings.egg-info/PKG-INFO
2021-03-19 01:56:50.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: flake8-docstrings
-Version: 1.5.0
+Version: 1.6.0
Summary: Extension for flake8 which uses pydocstyle to check docstrings
Home-page: https://gitlab.com/pycqa/flake8-docstrings
Author: Simon ANDR??
@@ -29,6 +29,10 @@
The default is ``pep257``, pydocstyle v2.0.0 added ``numpy`` (for the
numpydoc
standard), while pydocstyle v4.0.0 added ``google``.
+ In order to choose a custom list of error codes, use the special value
+ ``docstring-convention=all``, then choose the codes you want checked
using
+ flake8_'s built-in ``--ignore``/``--select`` functionality.
+
Report any issues on our `bug tracker`_.
.. _pydocstyle: https://github.com/pycqa/pydocstyle
@@ -40,6 +44,11 @@
History/Changelog
=================
+ 1.6.0
+ -----
+
+ - Fix ``--ignore-noqa`` by disabling ``pydocstyle``'s ``noqa``
handling.
+
1.5.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-docstrings-1.5.0/flake8_docstrings.py
new/flake8-docstrings-1.6.0/flake8_docstrings.py
--- old/flake8-docstrings-1.5.0/flake8_docstrings.py 2019-09-30
18:08:03.000000000 +0200
+++ new/flake8-docstrings-1.6.0/flake8_docstrings.py 2021-03-19
01:49:20.000000000 +0100
@@ -19,7 +19,7 @@
else:
tokenize_open = open
-__version__ = '1.5.0'
+__version__ = '1.6.0'
__all__ = ('pep257Checker',)
@@ -65,7 +65,7 @@
version = '{}, {}: {}'.format(__version__, module_name, pep257.__version__)
def __init__(self, tree, filename, lines):
- """Placeholder."""
+ """Initialize the checker."""
self.tree = tree
self.filename = filename
self.checker = pep257.ConventionChecker()
@@ -107,13 +107,24 @@
else None
)
- def _check_source(self):
+ def _call_check_source(self):
try:
- for err in self.checker.check_source(
+ return self.checker.check_source(
+ self.source,
+ self.filename,
+ ignore_decorators=self.ignore_decorators,
+ ignore_inline_noqa=True,
+ )
+ except TypeError: # for versions of pydocstyle 5.1.1 and below
+ return self.checker.check_source(
self.source,
self.filename,
ignore_decorators=self.ignore_decorators,
- ):
+ )
+
+ def _check_source(self):
+ try:
+ for err in self._call_check_source():
yield err
except pep257.AllError as err:
yield AllError(err)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/flake8-docstrings-1.5.0/tox.ini
new/flake8-docstrings-1.6.0/tox.ini
--- old/flake8-docstrings-1.5.0/tox.ini 2019-09-30 18:06:42.000000000 +0200
+++ new/flake8-docstrings-1.6.0/tox.ini 2021-03-19 01:35:52.000000000 +0100
@@ -1,7 +1,6 @@
[tox]
minversion = 1.6
-envlist =
- py27,py35,py36,py37,pypy,pypy3
+envlist = py27,py35,py36,py37,py38,pypy,pypy3
[testenv]
deps =