• SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 month ago

    “Did you run the formatter on this?”

    Bonus points if it’s python code and nowhere in the docs does it say which of the many formatters to use.

      • bob_lemon@feddit.org
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        I’m fond of ruff lately. Pretty much the same as black, but it just comes with the linter instead of being separate tools.

        • Gamma@beehaw.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 month ago

          👀 I’d fine-tuned (copied and pasted) a pylint setup that had some of black, what are the differences?

          Edit: it’s so much faster than black, I’m switching

          Edit2: used it today, faster and I like the linter. It also does some multi-line parentheses better imo