Skip to content

Releases: cricalix/python-lsp-pyre

v0.1.3

27 May 08:52
Compare
Choose a tag to compare

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

v0.1.2

26 May 07:03
Compare
Choose a tag to compare

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: v0.1.1...v0.1.2