Skip to content

Refactor: ruff formatting#1865

Merged
MarceloRobert merged 4 commits intokernelci:mainfrom
MarceloRobert:refactor/ruff-formatting
Apr 23, 2026
Merged

Refactor: ruff formatting#1865
MarceloRobert merged 4 commits intokernelci:mainfrom
MarceloRobert:refactor/ruff-formatting

Conversation

@MarceloRobert
Copy link
Copy Markdown
Collaborator

@MarceloRobert MarceloRobert commented Apr 17, 2026

This PR is only meant for applying all the ruff styling changes, so that we can later ignore the single squash-merge commit from the blame history using the .git-blame-ignore-revs file

If we had included these changes with the configuration, the squash-merge would combine everything (refactor and configs) into a single commit, and ignoring the revisions from that commit would ignore the config changes, which is not correct.

Changes

  • Applied auto-formatting
  • Applied auto-linting
  • Applied manual linting changes for lint rules with unsafe fixes

How to test

This is just a refactor, the entire dashboard should still be working normally. There was no change to the frontend.

Since this PR doesn't include the ruff configs, it's going to fail all CI, but you can check that everything is right by going to the ruff config PR and running the ruff commands there.

Part of #1845

@MarceloRobert MarceloRobert self-assigned this Apr 17, 2026
@MarceloRobert MarceloRobert added the Backend Most or all of the changes for this issue will be in the backend code. label Apr 17, 2026
fixes unsafe lint problems
additional auto-formatting after lint check

Part of kernelci#1845
@MarceloRobert MarceloRobert force-pushed the refactor/ruff-formatting branch from 5a1c61e to 181b7a6 Compare April 17, 2026 11:57
Copy link
Copy Markdown
Contributor

@alanpeixinho alanpeixinho left a comment

Choose a reason for hiding this comment

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

Tested via frontend, all services seems to be correct and with the expected performance.

@MarceloRobert MarceloRobert added this pull request to the merge queue Apr 23, 2026
Merged via the queue into kernelci:main with commit 05e2a3a Apr 23, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend Most or all of the changes for this issue will be in the backend code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants