We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yapf 0.29 python 3.7.
When a return type annotation is added to a function definition, the parameter list gets indented an extra level:
My file test.py:
test.py
def func1( arg1, arg2, ) -> None: pass def func2( arg1, arg2, ): pass
gets this diff (yapf -d with no extra settings):
yapf -d
--- test.py (original) +++ test.py (reformatted) @@ -1,6 +1,6 @@ def func1( - arg1, - arg2, + arg1, + arg2, ) -> None: pass
I.e. only the function with the return type annotation gets the extra level.
The text was updated successfully, but these errors were encountered:
2bd2b22
No branches or pull requests
yapf 0.29
python 3.7.
When a return type annotation is added to a function definition, the parameter list gets indented an extra level:
My file
test.py
:gets this diff (
yapf -d
with no extra settings):I.e. only the function with the return type annotation gets the extra level.
The text was updated successfully, but these errors were encountered: