• @FizzyOrange
    link
    42 hours ago

    Yes you can use static type hinting and the static type checker (Mypy or Pyright) will catch that. Linters (Pylint) won’t.