2 ms·
Until the first time you spend a couple of hours looking for a weird bug in Python because somebody broke this rule...
by Ensorceled 11y ago
Until the first time you spend a couple of hours looking for a weird bug in Python because somebody broke this rule...
- crdoconnor 11y agoWhich 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.
- Ensorceled 11y agoYou 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.