Skip to content

Replace black with ruff format in pre-commit. Closes #3257#3269

Merged
mlodic merged 1 commit intointelowlproject:developfrom
gqvz:ruff_format
Feb 3, 2026
Merged

Replace black with ruff format in pre-commit. Closes #3257#3269
mlodic merged 1 commit intointelowlproject:developfrom
gqvz:ruff_format

Conversation

@gqvz
Copy link
Contributor

@gqvz gqvz commented Feb 3, 2026

Description

Replace black with ruff-format in pre-commit

Closes #3257

Type of change

  • Bug fix (non-breaking change which fixes an issue).

Copilot AI review requested due to automatic review settings February 3, 2026 12:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR completes the migration from black to ruff by updating the pre-commit configuration to use ruff-format instead of black. This resolves issue #3257 where the CI pipeline was using ruff for formatting checks but pre-commit hooks were still running black, causing CI failures even when code was properly formatted locally.

Changes:

  • Removed black pre-commit hook configuration (repo, rev, hooks sections)
  • Added ruff-format hook under the existing ruff pre-commit repo
  • Added descriptive comments and a name for better clarity

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gqvz
Copy link
Contributor Author

gqvz commented Feb 3, 2026

(why are codeql and backend tests running for this)

@mlodic mlodic merged commit 07f8755 into intelowlproject:develop Feb 3, 2026
14 of 15 checks passed
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.

3 participants