def main() -> None:
i = 12
Is there anyway PyCharm can throw a warning letting me know that this:
def main() -> None:
i: int = 12
Is the better option? I installed mypy, but it couldn't detect anything wrong in the example above.
def main() -> None:
i = 12
Is there anyway PyCharm can throw a warning letting me know that this:
def main() -> None:
i: int = 12
Is the better option? I installed mypy, but it couldn't detect anything wrong in the example above.