Skip to content

Use ruff instead of black and isort - #41

Merged
max-models merged 1 commit into
develfrom
unify-formatting
Oct 27, 2026
Merged

max-models merged 1 commit into
develfrom
unify-formatting

Conversation

@max-models

Copy link
Copy Markdown
Owner

Part of making the formatting setup the same in all max-models repos.

  • .pre-commit-config.yaml is now the shared one: pre-commit-hooks v6.0.0 (with check-toml), nbstripout 0.9.1, ssort 0.17.0, ruff-check --fix and ruff-format at v0.17.3.
  • ruff is the only formatter and sorts imports (its I rules); CI and make lint also check statement order with ssort.
  • The rest of the diff is pre-commit run --all-files with the new hooks.

@max-models
max-models merged commit 3b00960 into devel Oct 27, 2026
15 checks passed
@max-models
max-models deleted the unify-formatting branch October 27, 2026 14:05
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.

1 participant