typing: add the return type hint to pycompat.rangelist()
Not bothering with the args, because there are a few overloads and only 2
callers in the codebase, one of which is a test.
--- a/mercurial/pycompat.py Tue Feb 21 13:24:12 2023 -0500
+++ b/mercurial/pycompat.py Tue Feb 21 13:26:07 2023 -0500
@@ -149,7 +149,7 @@
return list(map(f, *args))
-def rangelist(*args):
+def rangelist(*args) -> List[int]:
return list(range(*args))