-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code with async def
fails with --verify
#293
Comments
The |
Thanks for the information, reporting to PyYapf. |
I created this pull request: jason-kane/PyYapf#25 |
haha, thanks. was just about to submit it |
underyx
added a commit
to underyx/coala-bears
that referenced
this issue
Aug 31, 2016
Syntax verification is supposed to be a private feature in yapf, used for debugging, but they're still defaulting its flag to True on the public FormatFile function. We need to set it to False to disable syntax error checking in yapf (which seems to be an unmaintained feature of it, since it raises exceptions on async/await and py2 print syntax), see discussion at google/yapf#293 Fixes coala#738
This was referenced Aug 31, 2016
underyx
added a commit
to underyx/coala-bears
that referenced
this issue
Aug 31, 2016
Syntax verification is supposed to be a private feature in yapf, used for debugging, but they're still defaulting its flag to True on the public FormatFile function. We need to set it to False to disable syntax error checking in yapf (which seems to be an unmaintained feature of it, since it raises exceptions on async/await and Python 2's print statement), see discussion at google/yapf#293 Fixes coala#738
underyx
added a commit
to underyx/coala-bears
that referenced
this issue
Aug 31, 2016
Syntax verification is supposed to be a private feature in yapf, used for debugging, but they're still defaulting its flag to True on the public FormatFile function. We need to set it to False to disable syntax error checking in yapf (which seems to be an unmaintained feature of it, since it raises exceptions on async/await and Python 2's print statement), see discussion at google/yapf#293 Fixes coala#738
underyx
added a commit
to underyx/coala-bears
that referenced
this issue
Aug 31, 2016
Syntax verification is supposed to be a private feature in yapf, used for debugging, but they're still defaulting its flag to True on the public FormatFile function. We need to set it to False to disable syntax error checking in yapf (which seems to be an unmaintained feature of it, since it raises exceptions on async/await and Python 2's print statement), see discussion at google/yapf#293 Fixes coala#738
underyx
added a commit
to underyx/coala-bears
that referenced
this issue
Aug 31, 2016
Syntax verification is supposed to be a private feature in yapf, used for debugging, but they're still defaulting its flag to True on the public FormatFile function. We need to set it to False to disable syntax error checking in yapf (which seems to be an unmaintained feature of it, since it raises exceptions on async/await and Python 2's print statement), see discussion at google/yapf#293 Fixes coala#738
sils
pushed a commit
to coala/coala-bears
that referenced
this issue
Sep 1, 2016
Syntax verification is supposed to be a private feature in yapf, used for debugging, but they're still defaulting its flag to True on the public FormatFile function. We need to set it to False to disable syntax error checking in yapf (which seems to be an unmaintained feature of it, since it raises exceptions on async/await and Python 2's print statement), see discussion at google/yapf#293 Fixes #738
gosom
pushed a commit
to gosom/coala-bears
that referenced
this issue
Jul 15, 2017
Syntax verification is supposed to be a private feature in yapf, used for debugging, but they're still defaulting its flag to True on the public FormatFile function. We need to set it to False to disable syntax error checking in yapf (which seems to be an unmaintained feature of it, since it raises exceptions on async/await and Python 2's print statement), see discussion at google/yapf#293 Fixes coala#738
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yapf cannot
--verify
this codeNotes:
I found this issue with the PyYapf plugin for sublime text, which uses
--verify
, which seems not to be a public api thoughApplication output/ Traceback
additional information:
Neither of 0.11.0, 0.11.1 work
The text was updated successfully, but these errors were encountered: