Imho, the type system should either be really strict and strong like in Scala or it should very loose like in TypeScript. Anything in between is just a nuisance.
Btw, there are other tools than compilers that can analyze your code for errors. Try PyCharm
Btw, there are other tools than compilers that can analyze your code for errors. Try PyCharm