[mod] test.black: show issues (diff) reported by python-black

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-12-24 13:19:14 +01:00
parent 3c77412d33
commit c849731eb1

2
manage
View file

@ -657,7 +657,7 @@ test.pylint() {
test.black() {
build_msg TEST "[black] \$BLACK_TARGETS"
pyenv.cmd black --check "${BLACK_OPTIONS[@]}" "${BLACK_TARGETS[@]}"
pyenv.cmd black --check --diff "${BLACK_OPTIONS[@]}" "${BLACK_TARGETS[@]}"
dump_return $?
}