Skip to content
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

Support remote blackd server #160

Open
christian-steinmeyer opened this issue Dec 5, 2022 · 4 comments
Open

Support remote blackd server #160

christian-steinmeyer opened this issue Dec 5, 2022 · 4 comments
Labels
feature-request Request for new features or functionality needs community feedback

Comments

@christian-steinmeyer
Copy link

Our team is using a remote blackd server, that's kept in sync with the version in CI. Some of our team members use VS Code, others use PyCharm. The latter has a plugin that let's the users set the path to a remote version of black, so that not everyone has to have a running version of the black server running and needs to keep track of that when we do a version bump on CI. It'd be great if this extension could add support for remote servers, since it's the biggest one for formatting with black.

I'm not sure how this extension currently handles black interaction (with blackd, it would look something like curl -s -XPOST "<HOST>:<PORT>" -d "<YOUR_PYTHON_CODE>") and configuration (like line-length). Is the configuration passed with every request as with blackd or covered somehow differently? If that could be reused, that would be of course very nice.

@christian-steinmeyer christian-steinmeyer changed the title Feature Request: Support remote black server Feature Request: Support remote blackd server Dec 5, 2022
@github-actions github-actions bot added the triage-needed Issue is not triaged. label Dec 5, 2022
@brettcannon
Copy link
Member

The extension runs Black locally via LSP for performance reasons. This would be a feature request to use blackd as well as allow for somehow forwarding the connection to a server.

@karthiknadig karthiknadig added feature-request Request for new features or functionality needs community feedback and removed triage-needed Issue is not triaged. labels Jan 7, 2023
@karthiknadig karthiknadig removed their assignment Jan 7, 2023
@karthiknadig karthiknadig changed the title Feature Request: Support remote blackd server Support remote blackd server Jan 7, 2023
@christian-steinmeyer
Copy link
Author

Hi @karthiknadig, is there anything in particular you're looking for from me, or are you waiting to see if others share this need?

@karthiknadig
Copy link
Member

We usually leave feature requests open for some time to see if there is any community interest. Since this is a large change and we want to make sure there is demand for this.

@karthiknadig
Copy link
Member

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality needs community feedback
Projects
None yet
Development

No branches or pull requests

3 participants