-
-
Notifications
You must be signed in to change notification settings - Fork 102
Description
For example, I set comtypes.client.gen_dir
to be comInterfaces
, so that generated wrapper modules will appear in that directory, instead of the default location of comtypes.gen
.
After generating the wrappers, I want to import the wrappers to get some type hints.
I cannot import from comtypes.gen
, because the wrappers are not there, since I have moved them into comInterfaces
.
I can import from comInterfaces
, but then, VS code still cannot find the symbols inside the wrappers, because the generated wrappers still reference comtypes.gen._SomeLibraryID_
somehow.
Is there something I can tweak in comtypes
to change the import paths inside those wrappers, so that they can work with static Python checkers? Or is there something I can change in the VS Code settings in order to fix this?