annotate contrib/docker/pytype/entrypoint.sh @ 6649:da3fd8644ad9

contrib: add a Dockerfile to run pytype using our CI setup locally
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 05 Jan 2024 13:58:25 -0300
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6649
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
1 #!/usr/bin/env bash
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
2
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
3 set -euo pipefail
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
4
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
5 cd /tmp/mercurial-ci/
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
6 make local
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
7 ./contrib/setup-pytype.sh
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
8
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
9 cd /tmp/evolve-ci/
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
10 pytype --version
da3fd8644ad9 contrib: add a Dockerfile to run pytype using our CI setup locally
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
11 pytype --keep-going --jobs auto -P /tmp/mercurial-ci/:hgext3rd hgext3rd