# HG changeset patch # User Pierre-Yves David # Date 2023-03-02 10:54:21 # Node ID 444fa55f5dd28a30848212b3d53df9074f13297c # Parent a6b8b1ab9116d4d87cfedbe0cea566f46ddec13d style: rewrap `ui.deprecwarn` declaration This get easier to read, especially with the type annotation. diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -2222,7 +2222,10 @@ class ui: 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