FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

PR: Fix snippet parsing when a slash character is present by steff456 · Pull Request #701 · palantir/python-language-server · GitHub

PR: Fix snippet parsing when a slash character is present - #701

Merged
ccordoba12 merged 4 commits into
palantir:developfrom
steff456:fix_snippet_slash
Nov 20, 2019
Merged

PR: Fix snippet parsing when a slash character is present#701
ccordoba12 merged 4 commits into
palantir:developfrom
steff456:fix_snippet_slash

Conversation

Copy link
Copy Markdown
Contributor

Fixes the syntax of the snippet when a slash (/) character is present.

Fixes spyder-ide/spyder#10761

Copy link
Copy Markdown
Contributor

@steff456 please add a test for this by including a function that uses this syntax for parameters over here

https://github.com/palantir/python-language-server/blob/develop/test/plugins/test_completion.py#L23

And then add a test for this around https://github.com/palantir/python-language-server/blob/develop/test/plugins/test_completion.py#L160

Make sure that this runs only on the correct python version.

We might need to update the python version that we use on CI as well

ccordoba12 added this to the 0.31.1 milestone Nov 19, 2019

Copy link
Copy Markdown
Contributor

I agree with @goanpeca's review.

ccordoba12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks @steff456, great work!

ccordoba12 merged commit b08891f into palantir:develop Nov 20, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete fails with SyntaxError

3 participants


Back | FazBrowse Home | New Git URL