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
This also applies to QualifiedNameProvider. As far as I can tell, these types don't have the necessary context (ie full module name) to resolve relative imports.
libcst.helpers.get_absolute_module_for_import could resolve the proper name if we had access to a full module name for the scope.
This also applies to QualifiedNameProvider. As far as I can tell, these types don't have the necessary context (ie full module name) to resolve relative imports.
libcst.helpers.get_absolute_module_for_import could resolve the proper name if we had access to a full module name for the scope.
Working:
Broken:
I believe this TODO is necessary to implement (somehow): https://github.com/Instagram/LibCST/blob/master/libcst/metadata/scope_provider.py#L298
The text was updated successfully, but these errors were encountered: