summaryrefslogtreecommitdiff
path: root/zephyr/zmake/tests/test_modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/zmake/tests/test_modules.py')
-rw-r--r--zephyr/zmake/tests/test_modules.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/zephyr/zmake/tests/test_modules.py b/zephyr/zmake/tests/test_modules.py
index 600544d2e7..dc4c170535 100644
--- a/zephyr/zmake/tests/test_modules.py
+++ b/zephyr/zmake/tests/test_modules.py
@@ -1,4 +1,4 @@
-# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Copyright 2021 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -7,9 +7,8 @@
import pathlib
import tempfile
-import hypothesis
-import hypothesis.strategies as st
-
+import hypothesis # pylint:disable=import-error
+import hypothesis.strategies as st # pylint:disable=import-error
import zmake.modules
module_lists = st.lists(
@@ -37,4 +36,6 @@ def test_locate_in_directory(modules):
expected_modules[module] = module_dir
- assert zmake.modules.locate_from_directory(modules_dir) == expected_modules
+ assert (
+ zmake.modules.locate_from_directory(modules_dir) == expected_modules
+ )