You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# wildcard import above does not import "private" variables like __version__
# this makes them available
globals().update(importlib.import_module('cv2.cv2').__dict__)
The text was updated successfully, but these errors were encountered:
The wildcard import code in the __init__ file is perfectly valid Python. There's nothing "anti-linter" in the file. The last line is a bit hacky, but as the comment implies, it's needed to expose members which are ignored by the wildcard import.
Expected behaviour
be detected by linter
Actual behaviour
not detected by linter
Steps to reproduce
RED SQUIGGLY LINES
I blame:
\cv2\__init__.py:
The text was updated successfully, but these errors were encountered: