Not sure what answer you're hoping for here... PEP 8 is PEP 8. Sublime's PEP 8 style checker is a different topic. Perhaps/obviously the implementer of that package has not implemented that particular rule exactly as described in the actual PEP 8 recommendation.
– deceze♦Apr 22 '16 at 13:02

Sorry, I added my actual question to be more clear. I'd like to know which guideline is the correct one. The second question is a less important question.
– GabrielApr 22 '16 at 13:04

Um, there is only one guideline in your question, what do you want us to choose from?
– wRARApr 22 '16 at 13:07

2

There's only one PEP 8, and if PEP 8 very explicitly says that you can do that, then that's the final word. If a particular style checker says something to the contrary, then it's not a 100% compliant PEP 8 checker.
– deceze♦Apr 22 '16 at 13:07

2

To follow on from @deceze's comment, Guido argues that it isn't possible to have a 100% compliant PEP8 checker, because PEP8 is a style guide, not law.
– AlasdairApr 22 '16 at 13:25

2 Answers
2

As you noticed, these do not always match the PEP8 style guide exactly. In this particular case, I don't know whether it's an oversite by the maintainers, or a deliberate decision. You'd have to ask them to find out, or you might find the answer in the commit history.

Guido recently asked the maintainers of pep8 and pep257 tools to rename them, to avoid this confusion. See this issue for example. As a result, the tools are getting renamed to pycodestyle and pydocstyle, respectively.

If operators with different priorities are used, consider adding whitespace around the operators with the lowest priority(ies). Use your own judgment; however, never use more than one space, and always have the same amount of whitespace on both sides of a binary operator.
(Emphasis is my own).

In the listed example, + has a lower priority, so the BDFL elects to use whitespace around it and uses no whitespace around higher priority *.

I upvoted and I have never understood downvotes with no explanations given. To me, they add nothing.
– GabrielApr 22 '16 at 13:20

I didn't downvote, but I imagine it would be because your response doesn't answer either of the OP's questions - i.e. Q1: is the pep8-text or the pep8-tool correct?, and Q2: who decides what goes into pep8?
– thebjornSep 26 '16 at 13:35