Sign inSign up

mionita1980/mypy

By mionita1980

•Updated 3 months ago

Containerized python type checker https://mypy-lang.org/

Image
Developer tools
0

220

mionita1980/mypy repository overview

Python type checker https://mypy-lang.org/⁠

If a requirements.txt file is found in the folder mounted to /project, it will be installed prior to running mypy.

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 /project contains the requirements.txt, or else mypy will complain about missing types and not be able to do its job.

Image created from project https://codeberg.org/mionita1980/mypy⁠

Tag summary

Content type

Image

Digest

sha256:c3b986a97…

Size

87.5 MB

Last updated

3 months ago

docker pull mionita1980/mypy:2.3.0-python3.12