4 ms·
> support for tabs Tabs are not PEP 8 compliant except for consistency with existing code: https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces https://ww
by pdonis 5y ago
> support for tabs
Tabs are not PEP 8 compliant except for consistency with existing code:
https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces
But if you're going to use a tool like Black in the first place, you're already committed to not preserving different formatting styles in existing code. You want to enforce one consistent style everywhere in the code base. And PEP 8 says that means no tabs.
> a personal grudge against tabs
I don't see why there would have to be any personal grudge given the above.
- scrollaway 5y ago88 character lines are always pep8 non-compliant :)
- batisteo 5y agoSome teams strongly prefer a longer line length. For code maintained exclusively or primarily by a team that can reach agreement on this issue, it is okay to increase the nominal line length from 80 to 100 characters (effectively increasing the maximum length to 99 characters), provided that comments and docstrings are still wrapped at 72 characters.
- scrollaway 5y agoI know. That’s my point. Religiously following pep8 is absurd.