Mercurial > evolve
view contrib/docker/pytype/README.rst @ 6849:9638dd0fb4ea
tests: add `twine check` to test-check-sdist.t
twine can check dist files for various issues (small, I would imagine, since we
managed to build the dist files in the first place). Let's make use of this
functionality.
Not creating a separate test file for twine because we need to build the dist
files first before we can check them, and it's already being done in
test-check-sdist.t.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 09 Sep 2024 16:51:00 +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