Reputation: 380
I use mypy
to check type related errors before running my code.
It's really good, but it cannot check in runtime.
But in some projects I use dynamic variables and mypy cannot check it.
I know pydantic
. But that is extra code.
I need an interpreter to run same code, with type checking.
And I know mypyc
too. But I need an interpreter, not compiler.
I checked that question, but I'm looking for an interpreter I have some projects already written, and I won't able to refactor them. So I need an interpreter, not a library.
And I'm asking "Is there any.." not what you would recommend. I searched and couldn't find. I don't think that question is opinionated.
Upvotes: 2
Views: 108