summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-08-06 10:18:28 +0530
committerGitHub <noreply@github.com>2024-08-06 10:18:28 +0530
commit09f70283d4f0c60e448839f1bc23ed7c6719a22b (patch)
tree0338132c27ed677ab6c75d5bcf0a67761953979b
parent9222fcb62c9a3e108d2f90236e5151574df175ba (diff)
downloadvyos-workflow-test-temp-09f70283d4f0c60e448839f1bc23ed7c6719a22b.tar.gz
vyos-workflow-test-temp-09f70283d4f0c60e448839f1bc23ed7c6719a22b.zip
T6637: unused import check
-rw-r--r--.github/workflows/check-unused-imports.yml2
-rw-r--r--src/tests/helper.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml
index aada264..001a80f 100644
--- a/.github/workflows/check-unused-imports.yml
+++ b/.github/workflows/check-unused-imports.yml
@@ -11,5 +11,5 @@ permissions:
jobs:
check-unused-imports:
- uses: vyos/.github/.github/workflows/check-unused-imports.yml@feature/T6349-reusable-workflows
+ uses: vyos/.github/.github/workflows/check-unused-imports.yml@feature/py-files-filter
secrets: inherit
diff --git a/src/tests/helper.py b/src/tests/helper.py
index b994f8e..f6a99f0 100644
--- a/src/tests/helper.py
+++ b/src/tests/helper.py
@@ -16,6 +16,7 @@
import sys
import importlib.util
+import math
def prepare_module(file_path='', module_name=''):
spec = importlib.util.spec_from_file_location(module_name, file_path)