changeset 6624:da6224c38e07

evolve: let pytype ignore the old cmdutil.recordfilter() signature
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 31 Dec 2023 16:58:49 -0300
parents 35dc0ef481a5
children e3cf5f68da1c
files hgext3rd/evolve/cmdrewrite.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/cmdrewrite.py	Sun Dec 31 15:57:28 2023 -0300
+++ b/hgext3rd/evolve/cmdrewrite.py	Sun Dec 31 16:58:49 2023 -0300
@@ -530,7 +530,7 @@
     except TypeError:
         # hg <= 4.9 (db72f9f6580e)
         chunks, opts = cmdutil.recordfilter(repo.ui, originalchunks,
-                                            operation=b'discard')
+                                            operation=b'discard')  # pytype: disable=missing-parameter
     if not chunks:
         raise error.Abort(_(b"nothing selected to uncommit"))
     fp = stringio()