rustworkx
rustworkx copied to clipboard
Replace `black` with `ruff`
This PR is stacked on top of #1521, for the true diff: https://github.com/IvanIsCoding/rustworkx/compare/ruff-format...IvanIsCoding:rustworkx:upgrade-314
ruff format is more mature now. We save one dependency in CI. The diff from black to ruff is only 15 files with very minor changes.