Python-lsp-pyre

Latest version: v0.1.3

Safety actively analyzes 682532 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.3

Updates the default pyre configuration to be strict, and updates the documentation to match. Introduces an internal settings object, because I'm not a fan of dicts and the typing thereof (yes, TypedDict exists).

* Introduces the Settings dataclass
* Uses it to convert the pylsp settings dict to a typed object
* Defaults pyre to strict mode when writing out the initial config file
* Updates the documentation to reflect this strict mode
* Updates the documentation to explain squelching of Pyre lints
* Adds source commentary about pyre's output vs LSP w.r.t. lints per file

0.1.2

This is v0.1.2 of the plugin. It addresses some deficiencies in the documentation, and deals with configuration pass-through from the language server more correctly.

* Adds docs/Configuration.md to detail what configuration options are supported
* Updates docs/kate.md to detail how to pass settings from Kate's LSP config structure
* Updates README.md with more precise details about the configuration
* Updates README.md with more links, reflowed text, reorganised text
* Updates the plugin to default the configuration as "enabled, but don't create pyre config"
* Updates the plugin to log when the pyre config option is somehow missing
* Moves the pyre config file creation out of the `initialize` hook and into the point before running Pyre
* Decorates error messages with the plugin name

**Full Changelog**: https://github.com/cricalix/python-lsp-pyre/compare/v0.1.1...v0.1.2

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.