diff mercurial/context.py @ 43346:6ada8a274b9c stable

formatting: run black version 19.10b0 on the codebase The latest version of black is out and contains the change we needed. So we can start using it now. note: `test-check-format.t` will complains about this changes because it still use `grey` and need to be migrated to `black`. See next changesets for this.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 29 Oct 2019 10:41:30 +0100
parents 54e943b28101
children 313e3a279828
line wrap: on
line diff
--- a/mercurial/context.py	Sun Oct 27 20:16:59 2019 +0100
+++ b/mercurial/context.py	Tue Oct 29 10:41:30 2019 +0100
@@ -1187,10 +1187,9 @@
 
         assert (
             changeid is not None or fileid is not None or changectx is not None
-        ), b"bad args: changeid=%r, fileid=%r, changectx=%r" % (
-            changeid,
-            fileid,
-            changectx,
+        ), (
+            b"bad args: changeid=%r, fileid=%r, changectx=%r"
+            % (changeid, fileid, changectx,)
         )
 
         if filelog is not None: