Mercurial > hg-stable
changeset 51855:68ec9743ef04
contrib: print the version of pytype used to do the type checking
This will help with CI. I don't see a way to print the version of python that's
running it. When I tried `head -n 1 $(which pytype)`, the CI run printed:
#!/usr/bin/env bash
Locally, that gives the path to the python interpreter in the venv, so IDK
what's different.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 20 Aug 2024 11:18:10 -0400 |
parents | 673b07a1db08 |
children | 54b1a3738530 |
files | contrib/check-pytype.sh |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/check-pytype.sh Sat Aug 17 18:43:23 2024 -0400 +++ b/contrib/check-pytype.sh Tue Aug 20 11:18:10 2024 -0400 @@ -5,6 +5,9 @@ cd "$(hg root)" +printf "pytype version: " +pytype --version + # Many of the individual files that are excluded here confuse pytype # because they do a mix of Python 2 and Python 3 things # conditionally. There's no good way to help it out with that as far as