diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-07-02 11:36:05 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-02 23:36:41 +0000 |
commit | 4d2c524af57e22adc2b57fed5555980cef6ed49a (patch) | |
tree | 0aa3ca3fb6a41cc4269b59e974a7fa6f62f5ee2c /zephyr/zmake/tests/test_project.py | |
parent | 65b8e9a2a37b91c47e22151c9438b121d7b02558 (diff) | |
download | chrome-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_project.py')
-rw-r--r-- | zephyr/zmake/tests/test_project.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/zmake/tests/test_project.py b/zephyr/zmake/tests/test_project.py index 732e397354..3279d6ce31 100644 --- a/zephyr/zmake/tests/test_project.py +++ b/zephyr/zmake/tests/test_project.py @@ -2,17 +2,17 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -import hypothesis -import hypothesis.strategies as st import pathlib -import pytest import string import tempfile +import hypothesis +import hypothesis.strategies as st +import pytest + import zmake.modules import zmake.project - board_names = st.text(alphabet=set(string.ascii_lowercase) | {'_'}, min_size=1) sets_of_board_names = st.lists(st.lists(board_names, unique=True)) |