diff --git a/hgext/githelp.py b/hgext/githelp.py
index 508fd40dc86aa0b81b24181331e0b1fc52043bad_aGdleHQvZ2l0aGVscC5weQ==..0d414fb8336f90142cc734c9541f33383066fd0e_aGdleHQvZ2l0aGVscC5weQ== 100644
--- a/hgext/githelp.py
+++ b/hgext/githelp.py
@@ -111,7 +111,7 @@
 
             ui.warn(_(b"ignoring unknown option %s\n") % flag)
 
-    args = list([convert(x) for x in args])
+    args = [convert(x) for x in args]
     opts = dict(
         [
             (k, convert(v)) if isinstance(v, bytes) else (k, v)
diff --git a/hgext/remotefilelog/__init__.py b/hgext/remotefilelog/__init__.py
index 508fd40dc86aa0b81b24181331e0b1fc52043bad_aGdleHQvcmVtb3RlZmlsZWxvZy9fX2luaXRfXy5weQ==..0d414fb8336f90142cc734c9541f33383066fd0e_aGdleHQvcmVtb3RlZmlsZWxvZy9fX2luaXRfXy5weQ== 100644
--- a/hgext/remotefilelog/__init__.py
+++ b/hgext/remotefilelog/__init__.py
@@ -583,7 +583,7 @@
 # prevent strip from stripping remotefilelogs
 def _collectbrokencsets(orig, repo, files, striprev):
     if isenabled(repo):
-        files = list([f for f in files if not repo.shallowmatch(f)])
+        files = [f for f in files if not repo.shallowmatch(f)]
     return orig(repo, files, striprev)
 
 
diff --git a/hgext/remotefilelog/remotefilelogserver.py b/hgext/remotefilelog/remotefilelogserver.py
index 508fd40dc86aa0b81b24181331e0b1fc52043bad_aGdleHQvcmVtb3RlZmlsZWxvZy9yZW1vdGVmaWxlbG9nc2VydmVyLnB5..0d414fb8336f90142cc734c9541f33383066fd0e_aGdleHQvcmVtb3RlZmlsZWxvZy9yZW1vdGVmaWxlbG9nc2VydmVyLnB5 100644
--- a/hgext/remotefilelog/remotefilelogserver.py
+++ b/hgext/remotefilelog/remotefilelogserver.py
@@ -61,7 +61,7 @@
                     repo.root, b'', None, includepattern, excludepattern
                 )
 
-            changedfiles = list([f for f in changedfiles if not m(f)])
+            changedfiles = [f for f in changedfiles if not m(f)]
         return orig(
             self, changedfiles, linknodes, commonrevs, source, *args, **kwargs
         )
diff --git a/tests/hghave.py b/tests/hghave.py
index 508fd40dc86aa0b81b24181331e0b1fc52043bad_dGVzdHMvaGdoYXZlLnB5..0d414fb8336f90142cc734c9541f33383066fd0e_dGVzdHMvaGdoYXZlLnB5 100644
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -355,9 +355,7 @@
     return _hgversion
 
 
-@checkvers(
-    "hg", "Mercurial >= %s", list([(1.0 * x) / 10 for x in range(9, 99)])
-)
+@checkvers("hg", "Mercurial >= %s", [(1.0 * x) / 10 for x in range(9, 99)])
 def has_hg_range(v):
     major, minor = v.split('.')[0:2]
     return gethgversion() >= (int(major), int(minor))