• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    2 hours ago

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