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

ruff format alpha command #6845

Closed
konstin opened this issue Aug 24, 2023 · 5 comments
Closed

ruff format alpha command #6845

konstin opened this issue Aug 24, 2023 · 5 comments
Assignees
Labels
formatter Related to the formatter

Comments

@konstin
Copy link
Member

konstin commented Aug 24, 2023

We would like gather some feedback on the current state of the formatter. We plan to add a beta ruff format command that works on stdin (esp. for lsp integration), single files and an entire project (for now, with the same includes/excludes as ruff itself). This command will lack a lot of options and features we want in the final version, the only additional configuration we'll respect is ruff's line-length. This command is intended to be tried out and not yet adopted into production projects.

@konstin konstin self-assigned this Aug 24, 2023
@MichaReiser MichaReiser added this to the Formatter: Alpha milestone Aug 24, 2023
@MichaReiser MichaReiser changed the title ruff format beta command ruff format alpha command Aug 24, 2023
@MichaReiser MichaReiser added the formatter Related to the formatter label Aug 24, 2023
@MichaReiser
Copy link
Member

Related issue #6611

@MichaReiser
Copy link
Member

@charliermarsh do you know if this is completed?

@MichaReiser
Copy link
Member

MichaReiser commented Aug 28, 2023

I guess we could polish the command by

  • Removing unsupported options from the help text
  • Print the number of checked and formatted files (with time spent?)

@charliermarsh
Copy link
Member

Yeah I’m gonna polish this off today.

@charliermarsh
Copy link
Member

Closing for now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatter Related to the formatter
Projects
None yet
Development

No branches or pull requests

3 participants