Mercurial > public > mercurial-scm > hg
diff mercurial/utils/stringutil.py @ 51699:ca7bde5dbafb
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | 7f0cb9ee0534 |
children | 278af66e6595 |
line wrap: on
line diff
--- a/mercurial/utils/stringutil.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/utils/stringutil.py Thu Jul 18 12:36:12 2024 +0200 @@ -574,7 +574,6 @@ return mailmap for line in mailmapcontent.splitlines(): - # Don't bother checking the line if it is a comment or # is an improperly formed author field if line.lstrip().startswith(b'#'): @@ -801,7 +800,6 @@ chunks.reverse() while chunks: - # Start the list of chunks that will make up the current line. # cur_len is just the length of all the chunks in cur_line. cur_line = []