In this case, I'm less sure whether I would consider this a false positive. If, as you indicate, these imports are placed so as to expose a particular API on the modules that they are contained in, then perhaps it would make sense to make this explicit by including them in the __all__ list of public names. I believe this should be enough to make the alerts go away.
Description of the false positive
Unused importraised for imports that are carried out just to build the API-structure.URL to the alert on the project page on LGTM.com
The text was updated successfully, but these errors were encountered: