changeset 50253:444fa55f5dd2

style: rewrap `ui.deprecwarn` declaration This get easier to read, especially with the type annotation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 02 Mar 2023 11:54:21 +0100
parents a6b8b1ab9116
children df76808d5f21
files mercurial/ui.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/ui.py	Thu Mar 02 19:02:52 2023 +0100
+++ b/mercurial/ui.py	Thu Mar 02 11:54:21 2023 +0100
@@ -2222,7 +2222,10 @@
             del calframe
 
     def deprecwarn(
-        self, msg: bytes, version: bytes, stacklevel: int = 2
+        self,
+        msg: bytes,
+        version: bytes,
+        stacklevel: int = 2,
     ) -> None:
         """issue a deprecation warning