Skip to content

Commit a9dbf5d

Browse files
Animesh TripathiAnimesh Tripathi
authored andcommitted
Fix docstring line length for pre-commit checks
1 parent c414cc6 commit a9dbf5d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/click/core.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,8 +2626,10 @@ class Option(Parameter):
26262626
:param attrs: Other command arguments described in :class:`Parameter`.
26272627
26282628
.. versionchanged:: 8.3.0
2629-
Fixed a regression where options with ``flag_value`` and ``is_flag=False`` incorrectly required an explicit argument.
2630-
The documented behavior is restored: passing only the flag uses the ``flag_value`` as the option value.
2629+
Fixed a regression where options with ``flag_value`` and ``is_flag=False``
2630+
incorrectly required an explicit argument.
2631+
The documented behavior is restored: passing only the flag uses the ``flag_value``
2632+
as the option value.
26312633
26322634
.. versionchanged:: 8.2
26332635
``envvar`` used with ``flag_value`` will always use the ``flag_value``,

0 commit comments

Comments
 (0)