Containerized python type checker https://mypy-lang.org/
220
Python type checker https://mypy-lang.org/
If a
requirements.txtfile is found in the folder mounted to/project, it will be installed prior to runningmypy.
Sample run (change the mapped folder and python file name):
IMGVERSION=2.3.0-python3.14 && docker run --rm -it -v ./backend:/project mionita1980/mypy:${IMGVERSION} app/main.py --show-traceback
Make sure the folder you map into the container's
/projectcontains therequirements.txt, or elsemypywill complain about missing types and not be able to do its job.
Image created from project https://codeberg.org/mionita1980/mypy
Content type
Image
Digest
sha256:c3b986a97…
Size
87.5 MB
Last updated
3 months ago
docker pull mionita1980/mypy:2.3.0-python3.12