@[email protected] to Programmer [email protected] • 9 months agoBetter merge it, too!i.imgflip.comimagemessage-square40fedilinkarrow-up1796
arrow-up1796imageBetter merge it, too!i.imgflip.com@[email protected] to Programmer [email protected] • 9 months agomessage-square40fedilink
minus-squareSavvyWolflinkfedilinkEnglish22•9 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-square@[email protected]linkfedilink5•9 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-squareGammalinkfedilinkEnglish2•edit-29 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
minus-square@[email protected]linkfedilink4•9 months agoJust make another PR where you add formatter instructions to the readme and pyproject.toml.
minus-squareEager EaglelinkfedilinkEnglish1•6 months agoadd it as a pre-commit hook, so no one has to remember to run it
“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.
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
Just make another PR where you add formatter instructions to the readme and pyproject.toml.
add it as a pre-commit hook, so no one has to remember to run it