LSP-pyproject
pyproject.toml support for Sublime's LSP plugin provided through pyproject server
Installations minus removals
Upgrades
- 257 installs
- 1 stars
Links
Versions
1.0.2
(ST4148+)
·
LSP-pyproject
This is a helper package that starts the pyproject language server for you.
Installation
- Install LSP via Package Control.
- Install LSP-pyproject via Package Control.
Applicable files
This language server operates on views with the source.toml base scope but only those with a pyproject.toml file name.
Configuration
You can edit the global settings by opening the Preferences: LSP-pyproject Settings from the Command Palette.
Configure server-specific rules in your pyproject.toml under the [tool.pyproject] section.
Each rule can be set to a severity level (error, warning, hint, information (or info), or off) using either a simple string or a table with a level field:
[tool.pyproject.rules]
project-unknown-keys = "warning"
project-dependency-updates = { level = "hint" }
project-requires-python-upper-bound = "off"
Rule identifiers are shown in diagnostic output (e.g., error[project-unknown-keys]). Rules that aren't explicitly configured use their default severity level.