Skip to content

Commit

Permalink
add config flags for trailing comma to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
TLouf committed Oct 19, 2024
1 parent c761e60 commit 2dcd775
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/usage/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 2dcd775

Please sign in to comment.