feat(black): display diff of reformatted files
When black decides to reformat one or many files, fixing those would
require the user to locally install black, with the exact same version
that was used in the pipeline, and run black locally.
This can be tedious when the diff is very minor and just need a simple
local edit to fix.
Instruct black to display the diff so that it is visible in the job's
build log. The user will then be able to decide whether they can just
manually tweak their source code for small diffs, or if they need to
go all the way to install and run black locally for bigger diffs.
Signed-off-by:
Yann E. MORIN <yann.morin@orange.com>
-
mentioned in commit a69b1b92
-
🤖 @k8s-tz-botmentioned in merge request Orange-OpenSource/k8s-tz/tools/gitlab-tokens-manager!146 (merged)
-
🤖 @lfn-botmentioned in merge request Orange-OpenSource/lfn/ci_cd/chained-ci-py!467 (merged)
-
🤖 @k8s-tz-botmentioned in merge request Orange-OpenSource/k8s-tz/tools/glauth-config-generator!669 (merged)
-
🤖 @k8s-tz-botmentioned in merge request Orange-OpenSource/k8s-tz/tools/kube-score-lint!606 (merged)
-
mentioned in merge request to-be-continuous/samples/python-uv-pep621-with-ruff!11 (closed)
-
mentioned in merge request to-be-continuous/samples/python-with-gcp-wif!41 (closed)
-
mentioned in merge request to-be-continuous/samples/python-on-azure!101 (closed)
-
mentioned in merge request to-be-continuous/samples/python-library!40 (closed)
-
mentioned in merge request to-be-continuous/samples/python-helmfile-on-kubernetes!101 (closed)
-
mentioned in merge request to-be-continuous/samples/python-on-kubernetes!91 (merged)
-
mentioned in merge request to-be-continuous/samples/python-serverless-on-aws!206 (closed)
-
mentioned in merge request to-be-continuous/samples/python-uv-pep621-with-ruff!17 (merged)