cleanup: fix a few recent black formatting violations
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 27 Nov 2020 17:00:25 -0500
changeset 45954 66f6ca2b7aee
parent 45953 f5d62f4d5327
child 45955 10dbc80d4be7
cleanup: fix a few recent black formatting violations Differential Revision: https://phab.mercurial-scm.org/D9427
hgext/git/gitlog.py
setup.py
--- a/hgext/git/gitlog.py	Wed Nov 25 12:33:37 2020 +0100
+++ b/hgext/git/gitlog.py	Fri Nov 27 17:00:25 2020 -0500
@@ -150,9 +150,7 @@
 
     def tiprev(self):
         t = self._db.execute(
-            'SELECT rev FROM changelog '
-            'ORDER BY REV DESC '
-            'LIMIT 1'
+            'SELECT rev FROM changelog ' 'ORDER BY REV DESC ' 'LIMIT 1'
         )
         return next(t)
 
--- a/setup.py	Wed Nov 25 12:33:37 2020 +0100
+++ b/setup.py	Fri Nov 27 17:00:25 2020 -0500
@@ -816,8 +816,7 @@
                 if sys.version_info[0] >= 3:
                     fsdecode = os.fsdecode
                 dest = os.path.join(
-                    os.path.dirname(self.hgtarget),
-                    fsdecode(dllbasename),
+                    os.path.dirname(self.hgtarget), fsdecode(dllbasename),
                 )
 
                 if not os.path.exists(dest):