From 73c519793047a36920c3ba110ed51f6beb6e9855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Fri, 8 Jul 2022 22:42:21 +0200 Subject: [PATCH] Didn't even get it right... *** --- pylint/extensions/_check_docs_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py index da18475c18..747fcb4ea0 100644 --- a/pylint/extensions/_check_docs_utils.py +++ b/pylint/extensions/_check_docs_utils.py @@ -738,10 +738,10 @@ class NumpyDocstring(GoogleDocstring): ( ({GoogleDocstring.re_multiple_type}) # default type declaration (,\s+optional)? # optional 'optional' indication - )| + )? ( {{({re_default_value},?\s*)+}} # set of default values - ) + )? \n)? \s* (.*) # optional description """,