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

Change Python formatting: black → ruff #1981

Open
DimitriPapadopoulos opened this issue Dec 26, 2023 · 0 comments
Open

Change Python formatting: black → ruff #1981

DimitriPapadopoulos opened this issue Dec 26, 2023 · 0 comments

Comments

@DimitriPapadopoulos
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Change the formatting from black to ruff, as a complement to #1771.

Many scientific packages are making the switch in order to:

  • reduce the number of tools they depend on,
  • make sure linting and formatting are consistent,
  • improve formatting performance.

Describe the solution you'd like

Switch from black to ruff-format in .pre-commit-config.yaml/pyproject.toml.

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

No branches or pull requests

1 participant