-
Notifications
You must be signed in to change notification settings - Fork 18
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
Configuration key and plugin name mismatch #41
Comments
This issue is relevant to PR #39 I made. |
I believe |
Thank you @rchl for noticing this issue. Moving to Any thoughts here @ccordoba12 ? |
@ccordoba12 I would like to move forward with this change, just release it as 2.0.0 as it would be a breaking change. We can add a note on release and README for users to upgrade. Any objections? |
I agree with releasing this change in 2.0, but I have one minor objection: could you wait until we release a new Spyder release (5.4.4) that supports it? Otherwise, our Black integration would break because we don't have an upper constraint on The idea is to release 5.4.4 on mid-June at most, so the wait shouldn't be that long. What do you say? |
I think this is reasonable as this is not an urgent change, we can aim for a python-lsp-black 2.0.0 release in the second half of June. Any other breaking change that would be worth doing besides |
@ccordoba12 How are we looking for this change? Was Spyder 5.4.4 released as planned? Can we go ahead with a python-lsp-black 2.0.0 release including this breaking change? |
Hey @haplo, we're almost ready to release 5.4.4 but we're stuck at the moment because we have some problems with our Apple ID, which is necessary to sign our Mac app. Hopefully they'll be sorted out soon. |
No worries @ccordoba12, I was just checking. I will be out on and off during the Summer, but I will start work on the 2.0.0 branch, I think we could aim for an August release. |
Ok, sounds good to me. That'll give me time to try to integrate black-machiatto project here to make Black work on ranges (which I'd really like to have in Spyder.) |
This plugin is called
pylsp_black
and it's also the name thatpylsp
uses to load it:The settings it provides use a
black
key though. This is problematic because that means that thepylsp.plugins.black.enabled
key doesn't work andpylsp
expectspylsp.plugins.pylsp_black.enabled
instead.All configuration keys other than
enabled
work as expected becausepylsp
uses different code path for reading those.The text was updated successfully, but these errors were encountered: