changeset 45939:66f6ca2b7aee

cleanup: fix a few recent black formatting violations Differential Revision: https://phab.mercurial-scm.org/D9427
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Nov 2020 17:00:25 -0500
parents f5d62f4d5327
children 10dbc80d4be7
files hgext/git/gitlog.py setup.py
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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):