[red-knot] Add implicit-reexport
rule for runtime files
#16158
Labels
red-knot
Multi-file analysis & type inference
implicit-reexport
rule for runtime files
#16158
Description
Follow-up from #14099 which was closed by #16073 which adds support for re-export conventions in stub files unconditionally.
We should add a new lint rule
implicit-reexport
which is:For stub files, the implementation is such that it will ignore the symbol if it's not being re-exported which means that the symbol could be unbound as seen in these tests. But, for runtime files, we should be inferring the types correctly.
The text was updated successfully, but these errors were encountered: