From 260e829303be8b3248d00da318af5ebfa2f0691e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davide=20Col=C3=AC?= Date: Tue, 13 May 2025 11:13:08 +0200 Subject: [PATCH] Update Google-Style Docstrings Keywords MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds "Methods", "Properties", "Overridden" non-standard keywords to the list of supported keywords. Signed-off-by: Davide Colì --- src/colint/docformat/apply_google_style.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/colint/docformat/apply_google_style.py b/src/colint/docformat/apply_google_style.py index c56ff8c..ff00978 100644 --- a/src/colint/docformat/apply_google_style.py +++ b/src/colint/docformat/apply_google_style.py @@ -47,17 +47,20 @@ class Section: __google_docs_section_keys = [ "Args", - "Returns", - "Raises", "Attributes", - "Yields", + "Deprecated", "Examples", - "See Also", + "Methods", "Notes", - "Warnings", + "Overridden", + "Properties", + "Raises", "References", - "Deprecated", + "Returns", + "See Also", "TODO", + "Warnings", + "Yields", ] __google_docs_section_patterns = [