Indeed, this looks like a false positive. Thank you for reporting it!
Our current focus is on improving our security analysis. Because your report does not relate to a security query, we will put this on our backlog and prioritize it if we get enough reports of the same underlying issue in other projects. If you think that your report is related to our security analysis, please clarify that in a comment. Either way, we'll let you know here as soon as it's fixed!
I also want to point out that both GitHub Code Scanning and LGTM.com have facilities for suppressing individual alerts or disabling a query.
Description of the false positive
The name 'eds' is exported by __all__ but is not defined.This and the other missing names are imported by a function below and thus not recognized.
URL to the alert on the project page on LGTM.com
https://lgtm.com/projects/g/hyperspy/hyperspy/snapshot/508d6caf0efc5c0a258c67f5c2ecab8a977c413e/files/hyperspy/api_nogui.py?sort=name&dir=ASC&mode=heatmap#xadcdd5256a8f42d0:1
The text was updated successfully, but these errors were encountered: