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

chore(python): Replace black by ruff format #11996

Merged
merged 7 commits into from
Oct 26, 2023
Merged

chore(python): Replace black by ruff format #11996

merged 7 commits into from
Oct 26, 2023

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Oct 24, 2023

Closes #11993

Overal, some nice formatting improvements, and of course, much faster formatting!

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Oct 24, 2023
@stinodego stinodego marked this pull request as ready for review October 24, 2023 21:41
@ritchie46
Copy link
Member

Alright, shall we wait a little bit to get all issues ironed out?

@stinodego
Copy link
Member Author

stinodego commented Oct 25, 2023

Alright, shall we wait a little bit to get all issues ironed out?

I don't think that's necessary. They are very minor issues and the workarounds are fine. They shouldn't trip anyone up. And the formatter has improved things in a lot of other places!

I'd say let's merge this.

@orlp
Copy link
Collaborator

orlp commented Oct 25, 2023

I'm for it.

@alexander-beedie
Copy link
Collaborator

alexander-beedie commented Oct 25, 2023

Happy days... I switched a chunk of the work codebase onto ruff format this week - so far so good! ✌️

(Only hit one or two -literally- oddities; easily worked around).

@stinodego stinodego merged commit 8adbf8e into main Oct 26, 2023
15 checks passed
@stinodego stinodego deleted the ruff-formatter branch October 26, 2023 02:46
@stinodego stinodego removed the rust Related to Rust Polars label Oct 26, 2023
@stinodego stinodego changed the title chore: Replace black by ruff format chore(python): Replace black by ruff format Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from black to ruff formatter
4 participants