From 2dcd775ca156e3a24194736b35a7fccae61f88f0 Mon Sep 17 00:00:00 2001 From: TLouf Date: Sat, 19 Oct 2024 14:08:48 +0200 Subject: [PATCH] add config flags for trailing comma to doc --- doc/usage/configuration.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/usage/configuration.rst b/doc/usage/configuration.rst index 2b9fb7a8e3a..5347ff039b5 100644 --- a/doc/usage/configuration.rst +++ b/doc/usage/configuration.rst @@ -4040,6 +4040,15 @@ Options for the Javascript domain .. versionadded:: 7.1 +.. confval:: javascript_trailing_comma_in_multi_line_signatures + :type: :code-py:`bool` + :default: :code-py:`True` + + A boolean that decides whether to add a trailing comma to + parameter lists spanning multiple lines. + + .. versionadded:: 8.2 + Options for the Python domain ----------------------------- @@ -4129,6 +4138,15 @@ Options for the Python domain .. versionadded:: 7.1 +.. confval:: python_trailing_comma_in_multi_line_signatures + :type: :code-py:`bool` + :default: :code-py:`True` + + A boolean that decides whether to add a trailing comma to + parameter lists spanning multiple lines. + + .. versionadded:: 8.2 + .. confval:: python_use_unqualified_type_names :type: :code-py:`bool` :default: :code-py:`False`