• Eager Eagle
    link
    English
    47
    edit-2
    1 year 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.

    • darcy
      link
      fedilink
      161 year ago

      sure, but thats just outsourcing the problem.

      • Eager Eagle
        link
        English
        20
        edit-2
        1 year 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
      link
      111 months ago

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