Hacker News new | ask | show | jobs
by pdonis 1606 days 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

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.

1 comments

88 character lines are always pep8 non-compliant :)
Some 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.
I know. That’s my point. Religiously following pep8 is absurd.