From 3f2fc0cf5c1ac8290b6efdcc06b0871e15d6fe24 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Tue, 21 Jan 2025 19:57:09 +0100 Subject: [PATCH] Fix CI checks --- .github/.wordlist.txt | 1 + docs/style/CODING_STYLE_GUIDE.md | 2 +- src/python_testing/TC_DGSW_2_1.py | 2 -- src/python_testing/TC_DGSW_2_2.py | 2 -- .../chip/testing/matter_testing.py | 3 +-- 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index 9d916059a94470..46717fbaa0c142 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -1162,6 +1162,7 @@ PyFunction pylint PyObject pypi +pyproject PyRun pytest QEMU diff --git a/docs/style/CODING_STYLE_GUIDE.md b/docs/style/CODING_STYLE_GUIDE.md index c29816becee210..70fc9a4a331ae8 100644 --- a/docs/style/CODING_STYLE_GUIDE.md +++ b/docs/style/CODING_STYLE_GUIDE.md @@ -61,7 +61,7 @@ be removed. We use the following auto-formatters on code: | Language | Formatter | Style File | -| ----------- | ------------------ | -----------------------------------| +| ----------- | ------------------ | ---------------------------------- | | C++ | clang-format | [.clang-format][clang_format_link] | | Objective-C | clang-format | [.clang-format][clang_format_link] | | java | google-java-format | N/A | diff --git a/src/python_testing/TC_DGSW_2_1.py b/src/python_testing/TC_DGSW_2_1.py index 3e506c6a459bc7..86022bef0fd193 100644 --- a/src/python_testing/TC_DGSW_2_1.py +++ b/src/python_testing/TC_DGSW_2_1.py @@ -35,8 +35,6 @@ # === END CI TEST ARGUMENTS === # -from mobly import asserts - import chip.clusters as Clusters from chip.testing import matter_asserts from chip.testing.matter_testing import MatterBaseTest, TestStep, async_test_body, default_matter_test_main diff --git a/src/python_testing/TC_DGSW_2_2.py b/src/python_testing/TC_DGSW_2_2.py index 73175190abdc81..1d93c9da8ab942 100644 --- a/src/python_testing/TC_DGSW_2_2.py +++ b/src/python_testing/TC_DGSW_2_2.py @@ -41,8 +41,6 @@ # === END CI TEST ARGUMENTS === # -from mobly import asserts - import chip.clusters as Clusters from chip.testing import matter_asserts from chip.testing.matter_testing import EventChangeCallback, MatterBaseTest, TestStep, async_test_body, default_matter_test_main diff --git a/src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py b/src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py index 0c7c582b4e5a1f..ad3b9e3235d5ec 100644 --- a/src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py +++ b/src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py @@ -50,8 +50,7 @@ import chip.FabricAdmin import chip.logging import chip.native -from chip import ChipDeviceCtrl -from chip import discovery +from chip import ChipDeviceCtrl, discovery from chip.ChipDeviceCtrl import CommissioningParameters from chip.ChipStack import ChipStack from chip.clusters import Attribute