white icon indicating copy to clipboard operation
white copied to clipboard

wrong indent for function with annotaion.

Open y9c opened this issue 6 years ago • 2 comments

When there is an annotation line in front of function, white will add an extra blank line before the function, which will raise error in flake8 syntax check.

image

image

y9c avatar Mar 15 '18 17:03 y9c

image

y9c avatar Mar 15 '18 17:03 y9c

The logic is implemented here: https://github.com/ambv/black, you should probably file this issue there.

svisser avatar Mar 19 '18 10:03 svisser