Skip to content

Replace black with ruff format [pyconde sprints] - #2522

Draft
cdeil wants to merge 2 commits into
conda-forge:mainfrom
cdeil:rm-black-only-ruff
Draft

Replace black with ruff format [pyconde sprints]#2522
cdeil wants to merge 2 commits into
conda-forge:mainfrom
cdeil:rm-black-only-ruff

Conversation

@cdeil

@cdeil cdeil commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

cc @jaimergp

This PR changes from black to ruff format.

What's not included is the result of running this which will create a large diff with dedent() calls:

ruff format .

Comment thread pyproject.toml

[tool.black]
# matches black's default value
line-length = 88

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I confirmed we don't need this because it's the default in ruff and it's unlikely they will change that.

Comment thread .pre-commit-config.yaml Outdated
@jaimergp
jaimergp force-pushed the rm-black-only-ruff branch from ffa0459 to 73a655a Compare April 13, 2026 14:51
Co-authored-by: cdeil <cdeil@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jaimergp
jaimergp force-pushed the rm-black-only-ruff branch from 73a655a to e0091ba Compare April 13, 2026 15:04
@jaimergp

Copy link
Copy Markdown
Member

pre-commit.ci autofix

@jaimergp

Copy link
Copy Markdown
Member

Thanks @cdeil! Merging this will probably introduce conflicts in a few PRs that are in progress, so the most likely outcome is that we merge this once we have dealt with them. We'll probably need to add 66e2c24 to the ignored revs file once merged (and we can't squash this one).

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