From 8bba089be4df441e2a60e8cdb6ed84bfecccae61 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:25:29 +0000 Subject: [PATCH 1/2] Initial plan From 1e932f913bbdb55d2feb49f9c1a5a129ec52720e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:29:56 +0000 Subject: [PATCH 2/2] Fix F401 linter errors: Remove unused imports Co-authored-by: kevinbackhouse <4358136+kevinbackhouse@users.noreply.github.com> --- pyproject.toml | 1 - .../mcp_servers/codeql/jsonrpyc/__init__.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6441073..d8081a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -168,7 +168,6 @@ ignore = [ "E741", # Ambiguous variable name "EM101", # Exception string literal "EM102", # Exception f-string - "F401", # Unused import "F541", # f-string without placeholders "F811", # Redefinition of unused name "F821", # Undefined name diff --git a/src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/__init__.py b/src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/__init__.py index 9a793eb..3dfc593 100644 --- a/src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/__init__.py +++ b/src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/__init__.py @@ -3,7 +3,6 @@ __all__: list[str] = [] -import io import json import os import re @@ -11,7 +10,7 @@ import threading import time from collections.abc import Callable -from typing import Any, Optional, Protocol, Type, TypeAlias +from typing import Any, Protocol, TypeAlias # package infos from .__meta__ import ( # noqa