This is an archive of the discontinued LLVM Phabricator instance.

Fix __all__ mypy warnings
ClosedPublic

Authored by thopre on Jan 14 2021, 3:31 AM.

Details

Summary

mypy warns about the unknown type for empty all. This commit adds
type info for them. Import errors for typing module in LNT needs to be
ignored because LNT module is imported from setup before all required
package are guaranteed to be installed.

Event Timeline

thopre created this revision.Jan 14 2021, 3:31 AM
thopre requested review of this revision.Jan 14 2021, 3:31 AM
This revision is now accepted and ready to land.Jan 14 2021, 3:38 AM