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
Currently, if a module imports classes from other packages stubs won't be created for those classes.
Say we are creating stubs for the package a and are currently working on a Python module with the following content:
frombimportSomeClassdeff(p: SomeClass)
Then we also need to create some stub for the class SomeClass, or we can't use it. So limited stubs must be created for the declarations of other packages that package a depends on.
Desired solution
Create limited stubs for the imported classes from other packages, if they are imported.
The text was updated successfully, but these errors were encountered:
…#70)
Closes#66
### Summary of Changes
Now limited stubs are created for imported classes from other packages.
---------
Co-authored-by: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com>
Is your feature request related to a problem?
Currently, if a module imports classes from other packages stubs won't be created for those classes.
Say we are creating stubs for the package
a
and are currently working on a Python module with the following content:Then we also need to create some stub for the class
SomeClass
, or we can't use it. So limited stubs must be created for the declarations of other packages that packagea
depends on.Desired solution
Create limited stubs for the imported classes from other packages, if they are imported.
The text was updated successfully, but these errors were encountered: