view contrib/docker/pytype/README.rst @ 6834:136dcb4ad4f8

tests: use testrepohg in test-check-pyflakes.t testrepohg is required if you want it to read ~/.hgrc. Important if the CI user is not root, but needs to trust root hgrc files.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 01 Aug 2024 16:12:46 +0400
parents da3fd8644ad9
children
line wrap: on
line source

Pytype in Docker
================

To build the container::

  $ docker build --tag evolve-pytype-checker "$(hg root)/contrib/docker/pytype/"

To check the code with pytype::

  $ docker run --rm -it -u "$(id -u):$(id -g)" -v "$(hg root):/tmp/evolve-ci" -v "/path/to/mercurial-repo:/tmp/mercurial-ci" evolve-pytype-checker