• ripcord@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    3 hours 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.