|
|
|
|
|
by skissane
604 days ago
|
|
> I think the dumbest is requiring "def (x=true)" over "def (x = true)". Seriously, why could that possibly matter?? For Python, I use ruff to autoreformat my code into a consistent style. The CI pipeline fails the PR if the style is violated it. Fixing it is a one-liner. Actually, if you use VSCode’s ruff extension, a zero-liner, since it auto-formats on save. For Java, I use Diffplug Spotless for a similar experience. One advantage of forcing the code to be auto-formatted, is it makes diffs cleaner - you eliminate diffs where someone just changed the code style, since the code style never changes. |
|