sublimelsp / LSP-pylsp

Convenience package for the Python Language Server
MIT License
72 stars 5 forks source link

chore: bump python-lsp-ruff from 1.6.0 to 2.0.2 #150

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps python-lsp-ruff from 1.6.0 to 2.0.2.

Release notes

Sourced from python-lsp-ruff's releases.

Python LSP ruff v2.0.2

Minor Bug fix release

What's Changed

Full Changelog: https://github.com/python-lsp/python-lsp-ruff/compare/v2.0.1...v2.0.2

Python LSP ruff v2.0.1

Minor bug release

What's Changed

New Contributors

Full Changelog: https://github.com/python-lsp/python-lsp-ruff/compare/v2.0.0...v2.0.1

Python LSP ruff v2.0.0

Breaking changes in v2.0.0

Code formatting with ruff has been reformatted in this new release, ruff format is now called to apply formatting. In addition, the default rules for formatting (namely import sorting) has been removed. To get formatting of imports via textDocument/formatting, add format = ["I"] to your config.

Other changes with this release:

  • New support for various features of ruff (target-version, unsafe-fixes, preview )
  • An updated severity customization that allows for pattern matching (via the startswith method) instead of full rule codes

Big thanks to everyone helping this project!

In Detail

New Contributors

Full Changelog: https://github.com/python-lsp/python-lsp-ruff/compare/v1.6.0...v2.0.0

Commits
  • f5bcc65 bump pyproject to v2.0.2
  • 1dd2b83 add subcommand to ruff call
  • c018265 bump version
  • 8a6fac9 Fall back to python module if ruff executable is missing
  • a4fac02 Bump version in pyproject
  • d50b8f5 Update required python version
  • 2d41c6d Update README
  • f810710 add pattern matching to severities (#66)
  • 8a0270c Add target version and preview to formatter (#64)
  • 5d7338d Add setting for enabling/disabling Preview rules (#54)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)