autopep8 icon indicating copy to clipboard operation
autopep8 copied to clipboard

Does not add whitespace around ** operator

Open tweakimp opened this issue 6 years ago • 1 comments

Before autopep8 (aggressive mode)

1+2-3*4/5//6%7**8

After:

1 + 2 - 3 * 4 / 5 // 6 % 7**8

Expected outcome:

1 + 2 - 3 * 4 / 5 // 6 % 7 ** 8

python v3.6.4 pycodestyle v2.3.1 autopep8 v1.3.4

tweakimp avatar Mar 01 '18 19:03 tweakimp

There is an interesting thread in SO discussing the issue.

dangom avatar Mar 14 '18 18:03 dangom