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

Skip to content

Remove black in favor of ruff #826

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

Closed
Manangka opened this issue Feb 6, 2024 · 0 comments · Fixed by #827
Closed

Remove black in favor of ruff #826

Manangka opened this issue Feb 6, 2024 · 0 comments · Fixed by #827
Assignees

Comments

@Manangka
Copy link
Collaborator

Manangka commented Feb 6, 2024

No description provided.

@Manangka Manangka converted this from a draft issue Feb 6, 2024
@Manangka Manangka self-assigned this Feb 6, 2024
github-merge-queue bot pushed a commit that referenced this issue 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.

- [x] Links to correct issue
- [ ] Update changelog, if changes affect users
- [x] PR title starts with ``Issue #nr``, e.g. ``Issue #737``
- [ ] Unit tests were added
- [ ] **If feature added**: Added/extended example
@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in iMOD Suite Feb 6, 2024
@JoerivanEngelen JoerivanEngelen changed the title Remove black in favor of black Remove black in favor of ruff Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant