Skip to content

Commit 872c41c

Browse files
Merge pull request #144 from GitHubSecurityLab/copilot/fix-linter-errors-yet-again
Fix F401 (unused imports) and remove from suppressions
2 parents f4cb303 + 1e932f9 commit 872c41c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ ignore = [
168168
"E741", # Ambiguous variable name
169169
"EM101", # Exception string literal
170170
"EM102", # Exception f-string
171-
"F401", # Unused import
172171
"F541", # f-string without placeholders
173172
"F811", # Redefinition of unused name
174173
"F821", # Undefined name

src/seclab_taskflow_agent/mcp_servers/codeql/jsonrpyc/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33

44
__all__: list[str] = []
55

6-
import io
76
import json
87
import os
98
import re
109
import sys
1110
import threading
1211
import time
1312
from collections.abc import Callable
14-
from typing import Any, Optional, Protocol, Type, TypeAlias
13+
from typing import Any, Protocol, TypeAlias
1514

1615
# package infos
1716
from .__meta__ import ( # noqa

0 commit comments

Comments
 (0)