Autopep8 doesn't insert spaces around arithmetic operators


I’ve installed autopep8, and it works for most of the cases, however, it does not insert missing whitespace around arithmetic operator. if the input is:
it will change that to:
A = B+C
A = B + C
although the autopep8 documentation says that it should do that.


Apparently, this is not a bug, the pep8 style leaves spaces around arithmetic operators to your own judgement.


Didn’t know it. I love Python, however, choices like this one do not really scream readability out loud.


YAPF formats it to A = B + C


What about black?


don’t know it.

the package combination of


allows me to switch between autopep8 and yapf.