# HG changeset patch # User Anton Shestakov # Date 1702924848 10800 # Node ID 05ce07bdb173870a0a3765f3761b6304fef4d7c9 # Parent d91b55371d6fcf653e629060360ff08c7315b83c pytype: update check-pytype.sh to select target automatically We have python3.11 on CI, so we can run pytype targeting that version. On the other hand, we don't have python3.7 on CI anymore, so we can't run pytype for 3.7 anymore (interpreter not found). I think it's fine to make pytype select the appropriate target depending on the version of the interpreter it's running under. diff -r d91b55371d6f -r 05ce07bdb173 contrib/check-pytype.sh --- a/contrib/check-pytype.sh Tue Dec 19 22:54:52 2023 +0100 +++ b/contrib/check-pytype.sh Mon Dec 18 15:40:48 2023 -0300 @@ -71,7 +71,7 @@ # TODO: include hgext and hgext3rd -pytype -V 3.7 --keep-going --jobs auto \ +pytype --keep-going --jobs auto \ doc/check-seclevel.py hgdemandimport hgext mercurial \ -x hgext/absorb.py \ -x hgext/bugzilla.py \