# HG changeset patch # User Matt Harbison # Date 1669253006 18000 # Node ID 3e1869751cfec80b6a59919750ea1bff84288deb # Parent 2e34ea45aaeaf1991b3e6c9854f340d828be8298 contrib: update check-pytype.sh to list stubs that caused pytype to crash The same logic is in the TortoiseHg tests for running pytype, and it's useful to know if a new version of pytype is better or worse. diff -r 2e34ea45aaea -r 3e1869751cfe contrib/check-pytype.sh --- a/contrib/check-pytype.sh Wed Nov 23 16:11:20 2022 -0500 +++ b/contrib/check-pytype.sh Wed Nov 23 20:23:26 2022 -0500 @@ -70,3 +70,6 @@ -x mercurial/wireprotoframing.py \ -x mercurial/wireprotov1peer.py \ -x mercurial/wireprotov1server.py + +echo 'pytype crashed while generating the following type stubs:' +find .pytype/pyi -name '*.pyi' | xargs grep -l '# Caught error' | sort