{"repo":"python/mypy","free":true,"listed":false,"github":"https://github.com/python/mypy","clone":"git clone https://github.com/python/mypy.git","description":"Optional static typing for Python","language":"Python","stars":20597,"topics":["python","types","typing","typechecker","linter"],"license":null,"category":"dev-tools","readme_excerpt":"Mypy: Static Typing for Python ======================================= Got a question? --------------- We are always happy to answer questions! Here are some good places to ask them: - for general questions about Python typing, try typing discussions - for anything you're curious about, try gitter chat If you're just getting started, the documentation and type hints cheat sheet can also help answer questions. If you think you've found a bug: - check our common issues page - search our issue tracker to see if it's already been reported To report a bug or request an enhancement: - report at our issue tracker - if the issue is with a specific library or function, consider reporting it at typeshed tracker or the issue tracker for that library To discuss a new type system feature: - discuss at discuss.python.org - there is also some historical discussion at the typing-sig mailing list and the python/typing repo What is mypy? ------------- Mypy is a static type checker for Python. Type checkers help ensure that you're using variables and functions in your code correctly. With mypy, add type hints (PEP 484) to your Python programs, and mypy will warn you when you use those types incorrectly. Python is a dynamic language, so usually you'll only see errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to whet your appetite: Adding type hints for mypy does not interfere with the wa","default_branch":null,"files":null,"tree":[],"storefront":"/r/python","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/python/mypy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}