superkret@feddit.org to Programmer Humor@programming.dev · 3 months agoBetter merge it, too!i.imgflip.comexternal-linkmessage-square41fedilinkarrow-up1801arrow-down116
arrow-up1785arrow-down1external-linkBetter merge it, too!i.imgflip.comsuperkret@feddit.org to Programmer Humor@programming.dev · 3 months agomessage-square41fedilink
minus-squareSavvyWolf@pawb.sociallinkfedilinkEnglisharrow-up22·3 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.
minus-squarebob_lemon@feddit.orglinkfedilinkarrow-up4·3 months agoJust make another PR where you add formatter instructions to the readme and pyproject.toml.
minus-squarebob_lemon@feddit.orglinkfedilinkarrow-up5·3 months agoI’m fond of ruff lately. Pretty much the same as black, but it just comes with the linter instead of being separate tools.
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up2·edit-23 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
“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.
Just make another PR where you add formatter instructions to the readme and pyproject.toml.
Use black and pray
I’m fond of ruff lately. Pretty much the same as black, but it just comes with the linter instead of being separate tools.
👀 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