summaryrefslogtreecommitdiff
path: root/zephyr/zmake/tests/test_zmake.py
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-07-02 11:36:05 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-02 23:36:41 +0000
commit4d2c524af57e22adc2b57fed5555980cef6ed49a (patch)
tree0aa3ca3fb6a41cc4269b59e974a7fa6f62f5ee2c /zephyr/zmake/tests/test_zmake.py
parent65b8e9a2a37b91c47e22151c9438b121d7b02558 (diff)
downloadchrome-ec-4d2c524af57e22adc2b57fed5555980cef6ed49a.tar.gz
zephyr: zmake: Run isort on all files, add check to run_tests.sh
Run isort on all files, and enforce future formatting checks by putting in run_tests.sh. BUG=b:192389533 BRANCH=none TEST=run_tests.sh Cq-Depend: chromium:3003455 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I5795ffae30b88fe3a5f093ab7a0d8cd9389da285 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3002838 Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/zmake/tests/test_zmake.py')
-rw-r--r--zephyr/zmake/tests/test_zmake.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/zmake/tests/test_zmake.py b/zephyr/zmake/tests/test_zmake.py
index 816278e46a..f037ab82f8 100644
--- a/zephyr/zmake/tests/test_zmake.py
+++ b/zephyr/zmake/tests/test_zmake.py
@@ -13,12 +13,13 @@ import unittest
import unittest.mock as mock
from unittest.mock import patch
+from testfixtures import LogCapture
+
import zmake.build_config
import zmake.jobserver
import zmake.multiproc as multiproc
import zmake.project
import zmake.zmake as zm
-from testfixtures import LogCapture
OUR_PATH = os.path.dirname(os.path.realpath(__file__))