ruff/.github/workflows
Zanie Blue 9cdac2d6fb
Add support for using uv as an alternative formatter backend (#19665)
This adds a new `backend: internal | uv` option to the LSP
`FormatOptions` allowing users to perform document and range formatting
operations though uv. The idea here is to prototype a solution for users
to transition to a `uv format` command without encountering version
mismatches (and consequently, formatting differences) between the LSP's
version of `ruff` and uv's version of `ruff`.

The primarily alternative to this would be to use uv to discover the
`ruff` version used to start the LSP in the first place. However, this
would increase the scope of a minimal `uv format` command beyond "run a
formatter", and raise larger questions about how uv should be used to
coordinate toolchain discovery. I think those are good things to
explore, but I'm hesitant to let them block a `uv format`
implementation. Another downside of using uv to discover `ruff`, is that
it needs to be implemented _outside_ the LSP; e.g., we'd need to change
the instructions on how to run the LSP and implement it in each editor
integration, like the VS Code plugin.

---------

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2025-09-09 20:39:53 +05:30
..
build-binaries.yml Update PyO3/maturin-action action to v1.49.4 (#19955) 2025-08-18 08:44:00 +02:00
build-docker.yml Update docker/login-action action to v3.5.0 (#19860) 2025-08-11 08:33:58 +02:00
ci.yaml Add support for using uv as an alternative formatter backend (#19665) 2025-09-09 20:39:53 +05:30
daily_fuzz.yaml Update astral-sh/setup-uv action to v6.6.1 (#20291) 2025-09-08 11:00:16 +05:30
mypy_primer.yaml Update astral-sh/setup-uv action to v6.6.1 (#20291) 2025-09-08 11:00:16 +05:30
mypy_primer_comment.yaml [ty] Add separate CI job for memory usage stats (#19134) 2025-07-07 12:17:02 -04:00
notify-dependents.yml Update actions/github-script action to v7.0.1 (#17072) 2025-03-31 09:24:38 +02:00
pr-comment.yaml Update peter-evans/find-comment action to v3.1.0 (#18177) 2025-05-19 08:10:14 +02:00
publish-docs.yml Update Swatinem/rust-cache action to v2.8.0 (#19168) 2025-07-07 08:50:29 +05:30
publish-playground.yml Update actions/setup-node action to v4.4.0 (#17514) 2025-04-22 09:18:13 +02:00
publish-pypi.yml Update astral-sh/setup-uv action to v6.6.1 (#20291) 2025-09-08 11:00:16 +05:30
publish-ty-playground.yml Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
publish-wasm.yml Update actions/setup-node action to v4.4.0 (#17514) 2025-04-22 09:18:13 +02:00
release.yml Update actions/checkout digest to ff7abcd (#20061) 2025-08-25 11:04:07 +05:30
sync_typeshed.yaml Update astral-sh/setup-uv action to v6.6.1 (#20291) 2025-09-08 11:00:16 +05:30
ty-ecosystem-analyzer.yaml Update astral-sh/setup-uv action to v6.6.1 (#20291) 2025-09-08 11:00:16 +05:30
ty-ecosystem-analyzer_comment.yaml [ty] Ecosystem analyzer PR comment workflow (#19237) 2025-07-09 18:02:05 +02:00
ty-ecosystem-report.yaml Update astral-sh/setup-uv action to v6.6.1 (#20291) 2025-09-08 11:00:16 +05:30
typing_conformance.yaml [ty] Use debug builds for conformance tests and run them single threaded (#19938) 2025-08-18 07:20:49 +00:00
typing_conformance_comment.yaml [ty] Fix typing repository commit output in CI (#19754) 2025-08-05 14:53:55 +05:30