Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue #826 Remove black in favor of ruff #827

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

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

Manangka
Copy link
Collaborator

@Manangka Manangka commented Feb 6, 2024

Fixes #826

This commit replaces the black linter/formatter in favor of the ruff linter/formatter.
The ruff and black formatter are 99% compatible but they vary just slightly.
This causes issues when calling the pixi run format task because they counteract each other.

A full list of differences between black and ruff can be found at:
https://docs.astral.sh/ruff/formatter/black/

The changes to review are in the pixi.toml file. All other changes are made by the ruff formatter.

  • Links to correct issue
  • Update changelog, if changes affect users
  • PR title starts with Issue #nr, e.g. Issue #737
  • Unit tests were added
  • If feature added: Added/extended example

@Manangka Manangka added this pull request to the merge queue Feb 6, 2024
Merged via the queue into master with commit ccebd4e Feb 6, 2024
@Manangka Manangka deleted the issue_826_remove_black branch February 6, 2024 15:37
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.

Remove black in favor of ruff
2 participants