diff options
author | Jeremy Bettis <jbettis@google.com> | 2021-09-14 11:20:56 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-15 23:14:20 +0000 |
commit | 339a38341d4a33b4df1e532228bae25756805c27 (patch) | |
tree | 92afb64b71f504ea4155cc3f80db10bb0cef5ba8 | |
parent | f1d74823bf0d3d5eefc945a5b55f9435dad81f6b (diff) | |
download | chrome-ec-339a38341d4a33b4df1e532228bae25756805c27.tar.gz |
zmake: Show black output
When the CQ fails because of code formatting, it is hard to figure out
what to fix. Change run_tests.sh to show the diff.
BUG=None
TEST=Ran run_tests.sh locally
BRANCH=None
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I05cc976919cad6f6e14e35843451845e0f8038d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3160501
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
-rwxr-xr-x | zephyr/zmake/run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/zmake/run_tests.sh b/zephyr/zmake/run_tests.sh index e1de85e2b4..60e93cdf1a 100755 --- a/zephyr/zmake/run_tests.sh +++ b/zephyr/zmake/run_tests.sh @@ -29,7 +29,7 @@ pytest --hypothesis-profile=cq . isort --check . # Check black formatting. -black --check . +black --check --diff . # Check flake8 reports no issues. flake8 . |