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
Some import styles and references to module.object are redundant.
In addition, there are some points that are not a problem at runtime but raise errors or warnings in static analysis.
For example, comtypes.COMError on line 30.
When importing comtypes.automation, its "parent" comtypes are also loaded, so there is no problem at runtime, but since comtypes itself is not imported, static analysis raises an error.
THIS IS FOR
drop_py2
PLAN! Please see #392.Some import styles and references to
module.object
are redundant.In addition, there are some points that are not a problem at runtime but raise errors or warnings in static analysis.
comtypes.COMError
on line 30.When importing
comtypes.automation
, its "parent"comtypes
are also loaded, so there is no problem at runtime, but sincecomtypes
itself is not imported, static analysis raises an error.comtypes/comtypes/client/dynamic.py
Lines 1 to 8 in 39d9e00
comtypes/comtypes/client/dynamic.py
Lines 22 to 33 in 39d9e00
Modernize the codebase by removing static analysis errors and import redundancies.
The text was updated successfully, but these errors were encountered: