view contrib/docker/pytype/README.rst @ 6845:4836e75f0a03

tests: don't put file lists inside dist/ directory Makes it easier to use `twine check dist/*` or anything that expects dist/ to only contain dist files.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 09 Sep 2024 18:46:03 +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