From a62c42782f6ae87a435e9590b4652d42ef6a2534 Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Tue, 30 Nov 2021 01:11:10 -0500 Subject: [PATCH] Show diff for black check (#289) Show diff for black check SUMMARY Show diff for black check This will make it easier to see from the CI logs what the actual problem is. ISSUE TYPE COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: None Reviewed-by: Abhijeet Kasurde Reviewed-by: Alina Buzachis Reviewed-by: None --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 198de646..b291092c 100644 --- a/tox.ini +++ b/tox.ini @@ -39,7 +39,7 @@ deps = black==19.10b0 commands = - black -v --check {toxinidir}/plugins {toxinidir}/tests + black -v --check --diff {toxinidir}/plugins {toxinidir}/tests [testenv:linters] deps = @@ -48,7 +48,7 @@ deps = black==19.10b0 commands = - black -v --check {toxinidir}/plugins {toxinidir}/tests + black -v --check --diff {toxinidir}/plugins {toxinidir}/tests yamllint -s {toxinidir} flake8 {toxinidir}