369
codeStyle
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
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.
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.
What about Ruff? I've been having a great time with Ruff.