lists.arthurdejong.org
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 -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=922505aa57778592140e5d4418781f20c2780f00

commit 922505aa57778592140e5d4418781f20c2780f00
Author: Arthur de Jong <arthur@arthurdejong.org>
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/nace.py b/stdnum/eu/nace.py
index 4109cc6..6c1ced4 100644
--- a/stdnum/eu/nace.py
+++ b/stdnum/eu/nace.py
@@ -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
     warnings.warn(
         'label() has been to get_label()',
         DeprecationWarning, stacklevel=2)

-----------------------------------------------------------------------

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


hooks/post-receive
-- 
python-stdnum