Skip to content

Use black on changed files only

This MR check black formatting only on edited python files of a merge request.

  • Do the CI on merge requests, not on branches
    • I use by own repo for branches, so for branches origin/master is my branch, not the project master branch
  • Check black on files changed by new MR only

Tested on added,modified,renamed,deleted files.

This should help to switch to an up-to-date black version in the near future.

Edited by Valentin Valls

Merge request reports