Skip to content

Replace black and isort with ruff#623

Draft
sandhose wants to merge 2 commits into
quenting/modernisation/absorb-is-testerfrom
quenting/modernisation/ruff
Draft

Replace black and isort with ruff#623
sandhose wants to merge 2 commits into
quenting/modernisation/absorb-is-testerfrom
quenting/modernisation/ruff

Conversation

@sandhose
Copy link
Copy Markdown
Member

@sandhose sandhose commented Apr 4, 2026

Summary

  • Replace black (formatter) and isort (import sorter) with ruff format and ruff check --select I
  • Update scripts-dev/lint.sh for ruff
  • Update CI to use ruff check and ruff format --check (covering sydent/, tests/, stubs/, integration-tests/)
  • Run ruff formatting and import sorting across the codebase

Test plan

  • uv run ruff check sydent/ tests/ stubs/ integration-tests/ passes
  • uv run ruff format --check sydent/ tests/ stubs/ integration-tests/ passes
  • CI green

Part 3 of 9 in the modernisation series. Builds on #622.

@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch from 42b2ec4 to e6213ed Compare April 4, 2026 15:12
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch 2 times, most recently from 9f46fb3 to 93ff7d4 Compare April 4, 2026 15:19
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch 2 times, most recently from 7c18f79 to dd812d7 Compare April 4, 2026 15:36
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch 2 times, most recently from d889486 to 2c0a8b8 Compare April 4, 2026 15:43
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch 2 times, most recently from 1350076 to d6e714a Compare April 4, 2026 15:45
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch 2 times, most recently from 56d452c to d978b11 Compare April 4, 2026 15:56
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch 2 times, most recently from 436907b to b1ce351 Compare April 4, 2026 16:02
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch 2 times, most recently from 249e5ad to 6ecb941 Compare April 4, 2026 16:09
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch from b1ce351 to 0bf6007 Compare April 4, 2026 16:09
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch from 6ecb941 to d565677 Compare April 4, 2026 16:10
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch 2 times, most recently from da23d85 to ef4d7f5 Compare April 4, 2026 16:17
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch 2 times, most recently from a08a2e3 to 78dd15d Compare April 4, 2026 16:19
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch 2 times, most recently from 21ebdb7 to effd527 Compare April 4, 2026 16:26
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch from 78dd15d to f21e502 Compare April 4, 2026 16:26
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch from effd527 to 39d1b90 Compare April 4, 2026 16:28
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch from f21e502 to a72e121 Compare April 4, 2026 16:28
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch from 39d1b90 to 4ca2559 Compare April 4, 2026 16:34
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch from a72e121 to 34528db Compare April 4, 2026 16:34
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch 4 times, most recently from 5f38d9a to e1be6ca Compare April 4, 2026 19:59
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch 2 times, most recently from 0ff5bd7 to 5766a4e Compare April 4, 2026 20:02
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch from e1be6ca to 5b9abdb Compare April 4, 2026 20:02
@sandhose sandhose force-pushed the quenting/modernisation/ruff branch from 5b9abdb to d53e002 Compare April 4, 2026 20:07
@sandhose sandhose force-pushed the quenting/modernisation/absorb-is-tester branch from 5766a4e to 7ff4744 Compare April 4, 2026 20:07
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