Hacker News new | ask | show | jobs
by Ensorceled 3708 days ago
Until the first time you spend a couple of hours looking for a weird bug in Python because somebody broke this rule...
1 comments

Which rule?

The rule that imports must be ordered according to the whims of the team lead? Or the rule that lines must be under 80 characters?

There are a few linting rules which it pays major dividends to pay attention to (e.g. variables that are initialized but never used), but most of them are superficial.

You commented on the import ordering so clearly that's what I'm commenting on.

Not following the PEP standard for python import ordering can cause issues like circular imports or monkey patching not working properly.