From 66e797a0e79bd897a014f86d7a53d60cc0289692 Mon Sep 17 00:00:00 2001 From: tduhamel42 Date: Wed, 22 Oct 2025 15:36:35 +0200 Subject: [PATCH] fix: Remove unused imports to pass linter --- backend/toolbox/modules/analyzer/bandit_analyzer.py | 1 - backend/toolbox/modules/scanner/dependency_scanner.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/backend/toolbox/modules/analyzer/bandit_analyzer.py b/backend/toolbox/modules/analyzer/bandit_analyzer.py index 5020d34..ecf81a8 100644 --- a/backend/toolbox/modules/analyzer/bandit_analyzer.py +++ b/backend/toolbox/modules/analyzer/bandit_analyzer.py @@ -19,7 +19,6 @@ import logging import time from pathlib import Path from typing import Dict, Any, List -import uuid try: from toolbox.modules.base import BaseModule, ModuleMetadata, ModuleResult, ModuleFinding diff --git a/backend/toolbox/modules/scanner/dependency_scanner.py b/backend/toolbox/modules/scanner/dependency_scanner.py index f1156c6..4c7791c 100644 --- a/backend/toolbox/modules/scanner/dependency_scanner.py +++ b/backend/toolbox/modules/scanner/dependency_scanner.py @@ -19,7 +19,6 @@ import logging import time from pathlib import Path from typing import Dict, Any, List -import uuid try: from toolbox.modules.base import BaseModule, ModuleMetadata, ModuleResult, ModuleFinding @@ -200,7 +199,6 @@ class DependencyScanner(BaseModule): except ValueError: rel_path = file_path - finding_id = str(uuid.uuid4()) recommendation = f"Upgrade {package_name} to a fixed version: {', '.join(fix_versions)}" if fix_versions else f"Check for updates to {package_name}" finding = self.create_finding(