comparison mercurial/hgweb/webutil.py @ 51858:607e94e01851

format: add many "missing" comma Black was not adding them until the next changeset introduced a bunch of `from __future__ import annotations` to most file. Since it make the next changeset hard to read we introduce them in advance.
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 16 Sep 2024 15:36:38 +0200
parents 18c8c18993f0
children f4733654f144
comparison
equal deleted inserted replaced
51857:f81e0ce5103a 51858:607e94e01851
598 _listfilesgen, args=(ctx, web.stripecount) 598 _listfilesgen, args=(ctx, web.stripecount)
599 ), 599 ),
600 diffsummary=lambda context, mapping: diffsummary(diffstatsgen), 600 diffsummary=lambda context, mapping: diffsummary(diffstatsgen),
601 diffstat=diffstats, 601 diffstat=diffstats,
602 archives=web.archivelist(ctx.hex()), 602 archives=web.archivelist(ctx.hex()),
603 **pycompat.strkwargs(commonentry(web.repo, ctx)) 603 **pycompat.strkwargs(commonentry(web.repo, ctx)),
604 ) 604 )
605 605
606 606
607 def _listfilediffsgen(context, files, node, max): 607 def _listfilediffsgen(context, files, node, max):
608 for f in files[:max]: 608 for f in files[:max]: