Skip to content

Conversation

@steff456
Copy link
Contributor

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

Fixes spyder-ide/spyder#10761

snippet

@goanpeca
Copy link
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 ccordoba12 added this to the 0.31.1 milestone Nov 19, 2019
@ccordoba12
Copy link
Contributor

I agree with @goanpeca's review.

Copy link
Contributor

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @steff456, great work!

@ccordoba12 ccordoba12 merged commit b08891f into palantir:develop Nov 20, 2019
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