Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a formatter CLI for debugging #4809

Merged
merged 3 commits into from
Jun 5, 2023
Merged

Add a formatter CLI for debugging #4809

merged 3 commits into from
Jun 5, 2023

Commits on Jun 5, 2023

  1. Add a formatter CLI for debugging

    This adds a ruff_python_formatter cli modelled aber `rustfmt` that i use for debugging
    konstin committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    ae34d62 View commit details
    Browse the repository at this point in the history
  2. clippy

    konstin committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    db286b0 View commit details
    Browse the repository at this point in the history
  3. Add print IR and print comments options

    Tested with `cargo run --bin ruff_python_formatter -- --print-ir --print-comments scratch.py`
    konstin committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    882588c View commit details
    Browse the repository at this point in the history