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

Replace black with ruff-format #5052

Merged
merged 9 commits into from
Nov 18, 2023
Merged

Replace black with ruff-format #5052

merged 9 commits into from
Nov 18, 2023

Conversation

kenodegard
Copy link
Contributor

@kenodegard kenodegard commented Nov 1, 2023

Description

ruff format is now a thing (see https://github.com/astral-sh/ruff/releases/tag/v0.1.2 and https://github.com/astral-sh/ruff/releases/tag/v0.1.3).

Removing the need for black.

Trimmed line-length down from 180 to 120 (removing this line-length deviation will result in 753 E501 lints, too much to do in one go).

Xref conda/conda#13272

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Nov 1, 2023
@kenodegard kenodegard marked this pull request as ready for review November 3, 2023 04:30
jezdez
jezdez previously approved these changes Nov 3, 2023
@jezdez jezdez merged commit 3f1cecb into conda:main Nov 18, 2023
24 checks passed
@kenodegard kenodegard deleted the ruff-format branch November 19, 2023 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants