790
Better merge it, too! (i.imgflip.com)
you are viewing a single comment's thread
view the rest of the comments
[-] savvywolf@pawb.social 22 points 10 months 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 4 points 10 months ago

Just make another PR where you add formatter instructions to the readme and pyproject.toml.

[-] eager_eagle@lemmy.world 1 points 7 months ago

add it as a pre-commit hook, so no one has to remember to run it

[-] GammaGames@beehaw.org 2 points 10 months ago* (last edited 10 months ago)
[-] bob_lemon@feddit.org 5 points 10 months 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.

[-] GammaGames@beehaw.org 2 points 10 months ago* (last edited 10 months 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

this post was submitted on 18 Sep 2024
790 points (98.1% liked)

Programmer Humor

25448 readers
998 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS