RSS feed

python-stdnum branch master updated. 1.12-5-g922505a

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.12-5-g922505a

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  922505aa57778592140e5d4418781f20c2780f00 (commit)
      from  de501093728d1b106e912923ad711adf06a6d29e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 922505aa57778592140e5d4418781f20c2780f00
Author: Arthur de Jong <>
Date:   Fri Dec 27 15:19:05 2019 +0100

    Broaden noqa docstring exclusion
    Nowadays flake8 seems to report this as D401 (First line should be in
    imperative mood) while before it was D402 (First line should not be the
    function’s signature).

diff --git a/stdnum/eu/ b/stdnum/eu/
index 4109cc6..6c1ced4 100644
--- a/stdnum/eu/
+++ b/stdnum/eu/
@@ -82,7 +82,7 @@ def get_label(number):
 def label(number):  # pragma: no cover (deprecated function)
-    """DEPRECATED: use `get_label()` instead."""  # noqa: D402
+    """DEPRECATED: use `get_label()` instead."""  # noqa: D40
         'label() has been to get_label()',
         DeprecationWarning, stacklevel=2)


Summary of changes:
 stdnum/eu/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)