777
Java... (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] TunaCowboy@lemmy.world 5 points 10 months ago

autopep8 --in-place --max-line-length 79 shittyformatting.py

[-] UndercoverUlrikHD@programming.dev 9 points 10 months ago

I'll die on the hill that 120 is a much more sane line length than 80. It's the one of two pep guidelines I always ignore. It isn't the 70s anymore

[-] TunaCowboy@lemmy.world 5 points 10 months ago

You don't have to die on any hill, you can just set it to whatever you want.

[-] kogasa@programming.dev 1 points 10 months ago

100 gang (but not for python, just let black defaults do its thing)

[-] bamboo@lemm.ee 3 points 10 months ago

black shittyformatting.py

this post was submitted on 27 Feb 2024
777 points (100.0% liked)

Programmer Humor

19854 readers
1489 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