Skip to content

Potential fix for code scanning alert no. 284: Unused import - #503

Draft
DavidPCoster wants to merge 1 commit into
devfrom
alert-autofix-284
Draft

Potential fix for code scanning alert no. 284: Unused import#503
DavidPCoster wants to merge 1 commit into
devfrom
alert-autofix-284

Conversation

@DavidPCoster

Copy link
Copy Markdown
Collaborator

Potential fix for https://github.com/UCL-CCS/EasyVVUQ/security/code-scanning/284

Remove the unused typing symbols Tuple and Union from the typing import list in src/easyvvuq/utils/dataset_importer.py.

Best single fix without changing functionality:

  • Edit only line 15’s import statement.
  • Keep all currently used typing imports (List, Dict, Optional, Any) unchanged.
  • Do not alter any other imports or logic.

This resolves both alert variants at once (Tuple unused and Union unused).

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>
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