Skip to content

Switch formatter to ruff

What does the merge request do?

  • Change CI and pre-commit config to use ruff instead of black. It's almost a drop-in replacement, but about 10-100 times faster than black, which makes quite a difference for pre-commit.
  • Fix incorrectly formatted files.

I didn't fix any linting errors, just formatting.

Summary for release notes

(only relevant for devs)

Checklist

  • Add unit tests (if applicable)
  • Changes to inkex/ are well documented
  • Clean merge request history

Merge request reports