mirror of
https://github.com/FuzzingLabs/fuzzforge_ai.git
synced 2026-08-15 06:30:30 +02:00
fix: Remove unused imports to pass linter
This commit is contained in:
@@ -19,7 +19,6 @@ import logging
|
|||||||
import time
|
import time
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Dict, Any, List
|
from typing import Dict, Any, List
|
||||||
import uuid
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from toolbox.modules.base import BaseModule, ModuleMetadata, ModuleResult, ModuleFinding
|
from toolbox.modules.base import BaseModule, ModuleMetadata, ModuleResult, ModuleFinding
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ import logging
|
|||||||
import time
|
import time
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Dict, Any, List
|
from typing import Dict, Any, List
|
||||||
import uuid
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from toolbox.modules.base import BaseModule, ModuleMetadata, ModuleResult, ModuleFinding
|
from toolbox.modules.base import BaseModule, ModuleMetadata, ModuleResult, ModuleFinding
|
||||||
@@ -200,7 +199,6 @@ class DependencyScanner(BaseModule):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
rel_path = file_path
|
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}"
|
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(
|
finding = self.create_finding(
|
||||||
|
|||||||
Reference in New Issue
Block a user