Mercurial > hg-stable
changeset 51322:05ce07bdb173
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 18 Dec 2023 15:40:48 -0300 |
parents | d91b55371d6f |
children | 46280260d010 |
files | contrib/check-pytype.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 \