commit | bed7ca5b30bc36405f1c69687f15152dd2208264 | [log] [tgz] |
---|---|---|
author | Sergei Lebedev <185856+superbobry@users.noreply.github.com> | Thu Sep 16 18:03:29 2021 +0000 |
committer | GitHub <noreply@github.com> | Thu Sep 16 11:03:29 2021 -0700 |
tree | 4f9f3c349ca8c4fb5551218192eb455ec1cc81eb | |
parent | 6471e0a37807c4b6245e0debdd39a5f246cc0042 [diff] |
``pytree_utils.ParseCodeToTree`` now adds a trailing EOL if needed (#962) This was previously done by ``yapf_api.FormatCode``, but I think it makes more sense to have it in ``pytree_utils.ParseCodeToTree``, because the grammar requires a trailing EOL.