Skip to content

Potential fix for code scanning alert no. 285: Unused import - #502

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

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

Conversation

@DavidPCoster

Copy link
Copy Markdown
Collaborator

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

The best fix is to remove the unused symbol import from src/easyvvuq/utils/dataset_importer.py without changing any runtime behavior.

  • General approach: delete imports that are never referenced.
  • Specific change: in the import block near line 19, remove from easyvvuq.constants import Status.
  • No additional methods, definitions, or dependencies are required.
  • This preserves functionality while resolving the CodeQL warning and improving readability.

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