summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/jobserver.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/zmake/jobserver.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/zmake/jobserver.py')
-rw-r--r--zephyr/zmake/zmake/jobserver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/zmake/zmake/jobserver.py b/zephyr/zmake/zmake/jobserver.py
index 0a5a8b9255..a4a8512b82 100644
--- a/zephyr/zmake/zmake/jobserver.py
+++ b/zephyr/zmake/zmake/jobserver.py
@@ -9,8 +9,10 @@ import os
import re
import select
import subprocess
+
import zmake
+
class JobHandle:
"""Small object to handle claim of a job."""
def __init__(self, release_func, *args, **kwargs):