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.
--- 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