this post was submitted on 01 Mar 2024
369 points (93.4% liked)

Programmer Humor

32453 readers
1329 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] EtzBetz@feddit.de 8 points 8 months ago (1 children)

Last year I had a module for ai stuff. We did things in Python and I am quite into doing things as coding standards say. My mate didn't really care so much and just went for his style of doing things, also not really worrying about descriptive names etc.

Well, let's say, we weren't having a good time.

I also realized that I was probably too harsh and tried to go a bit more easy on it later, but many things just felt wrong.

[–] GBU_28@lemm.ee 9 points 8 months ago (1 children)

Add black, isort and flake 8 to your repo, you can set it up to be applied on commit.

So folks can modify their local config all they like, and when they push it's to the team standard and when they work locally it's to theirs. It's the best.

[–] GissaMittJobb@lemmy.ml 3 points 8 months ago

What about Ruff? I've been having a great time with Ruff.