ruff icon indicating copy to clipboard operation
ruff copied to clipboard

[red-knot] Allow module-resolution options to be specified via the CLI

Open AlexWaygood opened this issue 1 year ago • 3 comments

Summary

This allows us to pass arguments such as --custom-typeshed-dir and --target-version directly to the red-knot CLI, for easier experimentation and validation locally.

(The PR is stacked on top of https://github.com/astral-sh/ruff/pull/12215)

Test Plan

Lots of manual testing, for example:

Screenshots

image


image

AlexWaygood avatar Jul 08 '24 16:07 AlexWaygood

The summary is half honest haha. The biggest change is that this is pr migrates to Clap 😂

MichaReiser avatar Jul 08 '24 16:07 MichaReiser

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

github-actions[bot] avatar Jul 08 '24 16:07 github-actions[bot]

The summary is half honest haha. The biggest change is that this is pr migrates to Clap

just a means to an end ;)

AlexWaygood avatar Jul 08 '24 16:07 AlexWaygood