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

Use ruff format (alpha) command for formatting #230

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

charliermarsh
Copy link
Member

Summary

This PR transitions the LSP to use Ruff's formatter via the (alpha) ruff format command. It's not yet recommended for production use, but it's more than ready for us to use it internally :)

ruff ./ruff_lsp ./tests
black --check ./ruff_lsp ./tests
ruff check ./ruff_lsp ./tests
ruff format --check ./ruff_lsp ./tests
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The allure of the unified ruff check...

@MichaReiser
Copy link
Member

🥳

Base automatically changed from charlie/bump to main September 1, 2023 19:03
@charliermarsh charliermarsh force-pushed the charlie/format branch 2 times, most recently from c376978 to 8f08ab9 Compare September 1, 2023 19:08
@@ -0,0 +1 @@
* text=auto eol=lf
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be revisited :)

@charliermarsh charliermarsh merged commit 6803a09 into main Sep 1, 2023
18 checks passed
@charliermarsh charliermarsh deleted the charlie/format branch September 1, 2023 19:14
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.

2 participants