3 ms·
Have you tried Mypy? It certainly has limitations, but it provides some static typing to Python.
by icebraining 8y ago
Have you tried Mypy? It certainly has limitations, but it provides some static typing to Python.
- weberc2 8y agoI've tried mypy, but it's still too immature (creates more issues than it solves). Specifically it's buggy and very limited (IIRC support for recursive types hadn't landed and many popular libraries--like SQLAlchemy--can't be annotated or stubbed).