[Updated] D9427: cleanup: fix a few recent black formatting violations
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Fri Nov 27 22:19:11 UTC 2020
Closed by commit rHG66f6ca2b7aee: cleanup: fix a few recent black formatting violations (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D9427?vs=23743&id=23748
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D9427/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D9427
AFFECTED FILES
hgext/git/gitlog.py
setup.py
CHANGE DETAILS
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -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):
diff --git a/hgext/git/gitlog.py b/hgext/git/gitlog.py
--- a/hgext/git/gitlog.py
+++ b/hgext/git/gitlog.py
@@ -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)
To: mharbison72, durin42, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201127/63c19c48/attachment-0002.html>
More information about the Mercurial-patches
mailing list