From 09f70283d4f0c60e448839f1bc23ed7c6719a22b Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Tue, 6 Aug 2024 10:18:28 +0530 Subject: T6637: unused import check --- .github/workflows/check-unused-imports.yml | 2 +- src/tests/helper.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3