Skip to content

apply black formatting and add CI run

What does the merge request do?

Apply the Black python formatter to the entire codebase, as discussed in yesterday's dev meeting. This is one giant commit, but good news, you will never see whitespace changes again :)

Also added a config for a git pre-commit hook and updated the CI to include a check for codestyle compliance.

Implementation notes

Summary for release notes

The code formatting of the extensions repository has been made consistent. This enables contributors to think less about formatting and more about what matters.

Checklist

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

Merge request reports