Skip to content

Fix for Unused import#2

Merged
admdly merged 1 commit intomainfrom
finding-autofix-631ce958
Feb 28, 2026
Merged

Fix for Unused import#2
admdly merged 1 commit intomainfrom
finding-autofix-631ce958

Conversation

@admdly
Copy link
Contributor

@admdly admdly commented Feb 28, 2026

To fix the problem, remove the unused import of classify_matches from language_tool_python.utils. This resolves the CodeQL warning and avoids keeping dead code dependencies without altering any behavior, since the symbol is not referenced.

Concretely, in check.py, edit the imports at the top of the file: delete the line from language_tool_python.utils import classify_matches. No additional code changes, imports, or definitions are needed because nothing in the current file depends on this symbol. This is the minimal, behavior-preserving fix.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@admdly admdly marked this pull request as ready for review February 28, 2026 13:31
@admdly admdly merged commit 64d5aa1 into main Feb 28, 2026
5 checks passed
@admdly admdly deleted the finding-autofix-631ce958 branch February 28, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant