-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
properties with setters are now reported as 'property' for completion #1983
properties with setters are now reported as 'property' for completion #1983
Conversation
@davidhalter I'm not sure why the integration tests are failing. Any ideas? |
Have a look at the failed test in Thanks for the fix! |
This reverts commit a80c955.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1983 +/- ##
==========================================
- Coverage 94.50% 94.46% -0.05%
==========================================
Files 80 80
Lines 11932 11932
==========================================
- Hits 11276 11271 -5
- Misses 656 661 +5 ☔ View full report in Codecov by Sentry. |
@eirannejad No sorry, that's not what I meant. My fault, sorry. I thought it was obvious that the comment |
@davidhalter Okay. I think I got that but to be honest I don't know the depth of what jedi does so I wasn't able to write new tests for this change. I modified the PR so it does not report I could use a little guidance on how you'd want this to work ideally so I can make the necessary changes. |
OK, sorry. It seems I was still not clear enough. The original change you did was the right one. However the current tests that were failing before are wrong:
This is what we currently have, but it's not what we want as I mentioned in the comment of the tests. Therefore I wanted you to change the
This is what we would have wanted from the start with these tests, but without your change that was not possible. I guess I thought you would understand my comment and simply change the tests, but I can understand that this wasn't clear. Do you understand now? |
@davidhalter I think this is ready. |
Thanks a lot! @eirannejad |
When complete is called on this script, current jedi reports
X
as a'method'
instead of a'property'
. This PR fixes that