Skip to content
Commit 34faae46 authored by Yann E. MORIN's avatar Yann E. MORIN
Browse files

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: default avatarYann E. MORIN <yann.morin@orange.com>
parent a6edcd22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment