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

Python LSP language server #317

Closed
egpbos opened this issue Nov 6, 2023 · 2 comments
Closed

Python LSP language server #317

egpbos opened this issue Nov 6, 2023 · 2 comments

Comments

@egpbos
Copy link
Member

egpbos commented Nov 6, 2023

          hi all! i'm not sure this is the right place, please let me know if not ;)

I'm using a language server whenever i can, and for python the best (only?) is https://github.com/python-lsp/python-lsp-server
This comes with its own choice for linter/formatter etc. I really recommend using an LSP to catch errors and find docs!

Originally posted by @jiskattema in #302 (comment)

@egpbos egpbos mentioned this issue Nov 6, 2023
1 task
@jiskattema
Copy link

By default the lsp server uses: rope, pyflakes, pycodestyle, autopep8/yapf, flake8, pylint.
There are a bunch of other options, but python-lsp-server can work with Ruff via a plugin.

@egpbos
Copy link
Member Author

egpbos commented Sep 24, 2024

LSP is a great protocol, but it's a bit too implementation-detail-specific to be useful in a guide on research software engineering. I think it's enough for engineers to know that they linting is very helpful. What tool they use exactly is up to them, as long as it is a good editor with support for things like this.

@egpbos egpbos closed this as completed Sep 24, 2024
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

No branches or pull requests

2 participants