contrib/check-pytype.sh
changeset 51291 0bb5299800ca
parent 50803 609a3b8058c3
child 51305 05ce07bdb173
equal deleted inserted replaced
51290:f4a0806081f2 51291:0bb5299800ca
   125     -x mercurial/win32.py \
   125     -x mercurial/win32.py \
   126     -x mercurial/wireprotoframing.py \
   126     -x mercurial/wireprotoframing.py \
   127     -x mercurial/wireprotov1peer.py \
   127     -x mercurial/wireprotov1peer.py \
   128     -x mercurial/wireprotov1server.py
   128     -x mercurial/wireprotov1server.py
   129 
   129 
   130 echo 'pytype crashed while generating the following type stubs:'
   130 if find .pytype/pyi -name '*.pyi' | xargs grep -ql '# Caught error'; then
   131 find .pytype/pyi -name '*.pyi' | xargs grep -l '# Caught error' | sort
   131     echo 'pytype crashed while generating the following type stubs:'
       
   132     find .pytype/pyi -name '*.pyi' | xargs grep -l '# Caught error' | sort
       
   133 fi