Format python code using ruff

Jira ticket: https://tasks.opencraft.com/browse/MNG-4749

Update branch to master before merging.

Depends on !633 (merged)

Merge request reports

Loading