Static analysis tools need additional information to help understand Python targets correctly. The use case of particular note are type checkers.
See discussion #2455_
At a minimum, these tools need the original source files. For type checkers, pyi files are also needed. Similarly, things like proto (or other code gen) would also benefit from a way to provide pyi files.
Static analysis tools need additional information to help understand Python targets correctly. The use case of particular note are type checkers.
See discussion #2455_
At a minimum, these tools need the original source files. For type checkers, pyi files are also needed. Similarly, things like proto (or other code gen) would also benefit from a way to provide pyi files.
{direct, transitive} x {original_sources, pyi_files}py_library.{pyi_{srcs, deps}py_libraryet al to populate, merge, propagate this information