Skip to content

Conversation

jhossbach
Copy link
Member

@jhossbach jhossbach commented Oct 19, 2023

This is a continuation of #48 since I want to capture all the new changes for the upcoming release in a version (and I didn't know renaming a branch closes a PR).

In particular, PR will

  • enable support for ruff 0.1.0 and the new configuration option unsafe-fixes, and
  • remove the now redundant call to ruff by lookup in the PATH and replace it with sys.executable -m ruff since this should be more reliable with different venv wrappers.

Closes #51. Closes #49.

Does the following:
 - Updates the pyproject.toml file to only support ruff>=0.1.0
 - Add the `--unsafe-fixes` option to the LSP config

Co-authored-by: Julian Hoßbach <[email protected]>
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

Successfully merging this pull request may close these issues.

Virtual environment not respected with pipx lsp_format_on_save deleting entire file contents
2 participants