• ripcord@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    1 month ago

    Not with an example that simple and poor, no.

    If you have done the minimum and at least set a type hint, or if your ide is smart enough to check what calls the function and what it passes, then it’ll be flagged.