contrib/check-pytype.sh
changeset 51306 46280260d010
parent 51305 05ce07bdb173
equal deleted inserted replaced
51305:05ce07bdb173 51306:46280260d010
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 set -e
     3 set -e
     4 set -u
     4 set -u
     5 
     5 
     6 cd `hg root`
     6 cd "$(hg root)"
     7 
     7 
     8 # Many of the individual files that are excluded here confuse pytype
     8 # Many of the individual files that are excluded here confuse pytype
     9 # because they do a mix of Python 2 and Python 3 things
     9 # because they do a mix of Python 2 and Python 3 things
    10 # conditionally. There's no good way to help it out with that as far as
    10 # conditionally. There's no good way to help it out with that as far as
    11 # I can tell, so let's just hide those files from it for now. We should
    11 # I can tell, so let's just hide those files from it for now. We should