Sounds like he needs a better IDE.
Python is not very good at this. TypeScript with prettier will very often add missing commas or semi colons for me. I never have to worry about whitespace before the formatter comes into play.
Python’s whitespacing felt nice in the days when there wasn’t a ton of tooling around auto formatting but now it feels like a burden.
I’ve been programming with lots of dumb people, and I’m particularly dumb myself, but if you really literally spend hours looking for missed semicolons, then you should give up programming no matter if this means more time for date nights or more time to look at the wall.
I dunno, back in the old PHP days (like the really shitty PHP) if you missed a semicolon on an included file, and that file was included in another file, and some dumbass included that in the middle of some other file, you would spend hours looking for it because the error showed it missing in the top-most file.
oh great, these stupid “missing semicolon” jokes have made their way here from the old place that shall not be named.
Just check the damn log man
This is why you’re polyamorous. When partner #1 is coding and partner #2 is high on coke with their salesbros, you can snuggle with partner #3 who’s sleepy and retired.