diff hgext/children.py @ 43076:2372284d9457

formatting: blacken the codebase This is using my patch to black (https://github.com/psf/black/pull/826) so we don't un-wrap collection literals. Done with: hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"' | xargs black -S # skip-blame mass-reformatting only # no-check-commit reformats foo_bar functions Differential Revision: https://phab.mercurial-scm.org/D6971
author Augie Fackler <augie@google.com>
date Sun, 06 Oct 2019 09:45:02 -0400
parents c303d65d2e34
children 687b865b95ad
line wrap: on
line diff
--- a/hgext/children.py	Sat Oct 05 10:29:34 2019 -0400
+++ b/hgext/children.py	Sun Oct 06 09:45:02 2019 -0400
@@ -35,13 +35,15 @@
 # leave the attribute unspecified.
 testedwith = 'ships-with-hg-core'
 
-@command('children',
-    [('r', 'rev', '.',
-     _('show children of the specified revision'), _('REV')),
-    ] + templateopts,
+
+@command(
+    'children',
+    [('r', 'rev', '.', _('show children of the specified revision'), _('REV')),]
+    + templateopts,
     _('hg children [-r REV] [FILE]'),
     helpcategory=command.CATEGORY_CHANGE_NAVIGATION,
-    inferrepo=True)
+    inferrepo=True,
+)
 def children(ui, repo, file_=None, **opts):
     """show the children of the given or working directory revision