Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

wrong indent for function with annotaion. #3

Open
y9c opened this issue Mar 15, 2018 · 2 comments
Open

wrong indent for function with annotaion. #3

y9c opened this issue Mar 15, 2018 · 2 comments

Comments

@y9c
Copy link

y9c commented Mar 15, 2018

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
Copy link
Author

y9c commented Mar 15, 2018

image

@svisser
Copy link
Contributor

svisser commented Mar 19, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants