• Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    50
    ·
    edit-2
    10 months ago

    you need a linter, bro

    when integrated into the editor it’ll highlight stupid mistakes as they’re typed

    I recommend Ruff for real time checks, and pylint if you need a comprehensive analysis.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        23
        ·
        edit-2
        10 months ago

        As if that’s a bad thing… it means you’re not locked in with a tool you don’t like and the language itself doesn’t dictate your workflow.

        There’s very little benefit and a lot of potential problems in using a single tool for everything.

    • aidan@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Yea and C++ is the same thing, you just need to enable all the warnings on clang-tidy