0

I've discovered some reformatting with Black or Yapf:

def responses(self, foo=SuperLongClassnameBar.FOOBAR
              ) -> List['Foobar']:

Using emacs and elpy, it won't indent the closing parentheses to the aforementioned position. Pressing , it'll shift it to the left.

Is there a way to enable/fix this?

Emacs25.2.2
elpy 1.32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.