EOF in multi-line statement
Closed this issue · 4 comments
Trying to run yapf on the selection :
(1, 2
)
And I get:
lib2to3.pgen2.tokenize.TokenError: ('EOF in multi-line statement', (2, 0))
I'm afraid I cannot reproduce - which version of Sublime and Yapf are you using?
yapf 0.6.2
subl 3114 (linux 64bits)
I am running the same sublime but a later yapf (0.11.0).
You could either upgrade yapf and see if the problem persists. Otherwise, is there some context around that selection that might be needed to reproduce the problem?
This looks like an upstream error; if you still see a similar message after upgrading to latest yapf verify that you get the same error on the command line (you almost certainly will) and leave a suitable message on the yapf board. If it is a problem in pyyapf I'm happy to take a look, it just doesn't seem plausible.