diff mercurial/ui.py @ 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 b7f33ed1d909
children 7f0f3b274d1e
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