diff mercurial/help.py @ 51900:607e94e01851

format: add many "missing" comma Black was not adding them until the next changeset introduced a bunch of `from __future__ import annotations` to most file. Since it make the next changeset hard to read we introduce them in advance.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 16 Sep 2024 15:36:38 +0200
parents 76387080f238
children f4733654f144
line wrap: on
line diff
--- a/mercurial/help.py	Thu Sep 12 12:53:00 2024 -0400
+++ b/mercurial/help.py	Mon Sep 16 15:36:38 2024 +0200
@@ -805,7 +805,7 @@
     full: bool = True,
     subtopic: Optional[bytes] = None,
     fullname: Optional[bytes] = None,
-    **opts
+    **opts,
 ) -> bytes:
     """
     Generate the help for 'name' as unformatted restructured text. If
@@ -1228,7 +1228,7 @@
     keep: Optional[Iterable[bytes]] = None,
     unknowncmd: bool = False,
     full: bool = True,
-    **opts
+    **opts,
 ) -> bytes:
     """get help for a given topic (as a dotted name) as rendered rst
 
@@ -1261,7 +1261,7 @@
         subtopic=subtopic,
         unknowncmd=unknowncmd,
         full=full,
-        **opts
+        **opts,
     )
 
     blocks, pruned = minirst.parse(text, keep=keep)