summaryrefslogtreecommitdiff
path: root/zephyr/zmake/zmake/project.py
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-07-02 11:50:03 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-12 20:50:54 +0000
commitef7db8a42479344fd44e3ad44f663b648b9da093 (patch)
treeda92b36c3806f6656addb72de1b8d1baf8fd9f8d /zephyr/zmake/zmake/project.py
parent8a740836b3f05f345d3abae21eb13bd179d68567 (diff)
downloadchrome-ec-ef7db8a42479344fd44e3ad44f663b648b9da093.tar.gz
zephyr: zmake: fix import position
Fix import position in project.py to make flake8 happy. This resolves all the flake8 messages, so we can enable the check in run_tests.sh to prevent regression. BUG=b:192389533 BRANCH=none TEST=./run_tests.sh Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I4abf4af111e1914cd1b98bf9d0b69cb2a6389b43 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3002841 Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/zmake/zmake/project.py')
-rw-r--r--zephyr/zmake/zmake/project.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/zephyr/zmake/zmake/project.py b/zephyr/zmake/zmake/project.py
index 8fb75b54de..0770151db5 100644
--- a/zephyr/zmake/zmake/project.py
+++ b/zephyr/zmake/zmake/project.py
@@ -9,6 +9,11 @@ import warnings
import yaml
+import zmake.build_config as build_config
+import zmake.modules as modules
+import zmake.output_packers as packers
+import zmake.util as util
+
# The version of jsonschema in the chroot has a bunch of
# DeprecationWarnings that fire when we import it. Suppress these
# during the import to keep the noise down.
@@ -16,11 +21,6 @@ with warnings.catch_warnings():
warnings.simplefilter("ignore")
import jsonschema
-import zmake.build_config as build_config
-import zmake.modules as modules
-import zmake.output_packers as packers
-import zmake.util as util
-
def module_dts_overlay_name(modpath, board_name):
"""Given a board name, return the expected DTS overlay path.