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

Use the ruff formatter, instead of black #343

Merged
merged 4 commits into from
Dec 9, 2023

Conversation

DimitriPapadopoulos
Copy link
Collaborator

@DimitriPapadopoulos DimitriPapadopoulos commented Dec 8, 2023

The ruff formatter seems to gain traction. Replacing black with ruff means one less tool to depend on.

I have based this commit on:

Also add new ruff linter rules.

The ruff formatter seems to gain traction. Replacing black with ruff
means one less tool to depend on.

I have based this commit on:
- ruff-pre-commit README.md | Using Ruff with pre-commit
  https://github.com/astral-sh/ruff-pre-commit/blob/main/README.md
- The Ruff Formatter | Conflicting lint rules
  https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
@DimitriPapadopoulos DimitriPapadopoulos merged commit 2d42757 into populse:3.0 Dec 9, 2023
3 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the black_ruff branch December 9, 2023 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant