diff mercurial/cmdutil.py @ 44349:a0ec05d93c8e

cleanup: re-run black on the codebase Looks like a few patches have landed without having been blackened. I strongly suspect I should write a patch for baymax that blackens things on the way in... # skip-blame automatic formatting Differential Revision: https://phab.mercurial-scm.org/D8104
author Augie Fackler <augie@google.com>
date Mon, 10 Feb 2020 17:31:05 -0500
parents 5830efce522b
children 2bd3b95fdce0
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Jan 16 13:34:04 2020 +0100
+++ b/mercurial/cmdutil.py	Mon Feb 10 17:31:05 2020 -0500
@@ -170,7 +170,12 @@
 
 diffopts = [
     (b'a', b'text', None, _(b'treat all files as text')),
-    (b'g', b'git', None, _(b'use git extended diff format (DEFAULT: diff.git)')),
+    (
+        b'g',
+        b'git',
+        None,
+        _(b'use git extended diff format (DEFAULT: diff.git)'),
+    ),
     (b'', b'binary', None, _(b'generate binary diffs in git mode (default)')),
     (b'', b'nodates', None, _(b'omit dates from diff headers')),
 ]
@@ -209,7 +214,9 @@
             b'p',
             b'show-function',
             None,
-            _(b'show which function each change is in (DEFAULT: diff.showfunc)'),
+            _(
+                b'show which function each change is in (DEFAULT: diff.showfunc)'
+            ),
         ),
         (b'', b'reverse', None, _(b'produce a diff that undoes the changes')),
     ]