Skip to content

Potential fix for code scanning alert no. 288: Unused import - #499

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

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

Conversation

@DavidPCoster

Copy link
Copy Markdown
Collaborator

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

To fix an unused import, remove the import statement for the module that is never referenced. This keeps the test file cleaner and avoids unnecessary dependencies in that module scope.

In tests/test_discrete_distributions.py, delete line 12:

  • import numpy as np

No other code changes are required, since functionality does not rely on np in the provided snippet.

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