aboutsummaryrefslogtreecommitdiff
path: root/verif/tests
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-01-13 15:04:21 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2022-01-13 15:04:25 +0000
commit5c1364c8a547127bc90e4d4a78dd876070eb1026 (patch)
tree70187ef07f549687918f8a93725b74f1f7fc2715 /verif/tests
parentbe1a9408eb53871d96a022f59664f016926a8cf4 (diff)
downloadreference_model-5c1364c8a547127bc90e4d4a78dd876070eb1026.tar.gz
Add python pre-commit script checkers
Fix up issues in existing python scripts. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id4adab404560c3129c66f31c21ff0ce148283c73
Diffstat (limited to 'verif/tests')
-rw-r--r--verif/tests/test_json2numpy.py1
-rw-r--r--verif/tests/test_tosa_result_checker.py3
-rw-r--r--verif/tests/test_tosa_run_tests_mocksut.py1
3 files changed, 1 insertions, 4 deletions
diff --git a/verif/tests/test_json2numpy.py b/verif/tests/test_json2numpy.py
index aec555c..63bc2d9 100644
--- a/verif/tests/test_json2numpy.py
+++ b/verif/tests/test_json2numpy.py
@@ -6,7 +6,6 @@ import os
import numpy as np
import pytest
-
from json2numpy.json2numpy import main
diff --git a/verif/tests/test_tosa_result_checker.py b/verif/tests/test_tosa_result_checker.py
index bc8a2fc..efee23b 100644
--- a/verif/tests/test_tosa_result_checker.py
+++ b/verif/tests/test_tosa_result_checker.py
@@ -3,11 +3,10 @@
# SPDX-License-Identifier: Apache-2.0
from pathlib import Path
+import checker.tosa_result_checker as trc
import numpy as np
import pytest
-import checker.tosa_result_checker as trc
-
def _create_data_file(name, npy_data):
"""Create numpy data file."""
diff --git a/verif/tests/test_tosa_run_tests_mocksut.py b/verif/tests/test_tosa_run_tests_mocksut.py
index 98044e0..234f156 100644
--- a/verif/tests/test_tosa_run_tests_mocksut.py
+++ b/verif/tests/test_tosa_run_tests_mocksut.py
@@ -7,7 +7,6 @@ from pathlib import Path
from xml.dom import minidom
import pytest
-
from runner.tosa_verif_run_tests import main