Skip to content
Snippets Groups Projects

[SIGMON-551] format code with black

Merged Simon Mazenoux requested to merge SIGMON-551-format-code-with-black into dev

Context

  • After thorough discussions, the decision was made to use black as a code formatter

What was done

  • Change pre-commit config to black
  • Add config for black in pyproject.toml
  • Add a step in the CI to check that the code is formatted
  • Ignore the commit where black was run to have a cleaner git blame

TODO

  • ?

QA

  • code was not unit tested, because it's only formatting
  • acceptance tests were written

Review objectives

  • ? assessment of code functionality
  • ? assessment of code quality

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading