Description
lldb has a minimum version of python 3.8 at the moment.
Since python 3.5, type annotations have been supported as part of the language and this can help us catch issues during testing and development.
At the moment, not much of lldb's test suite contains type annotations but if we wanted start adding them thought the tests it could be helpful for catching issues.
If we wanted to enable this on the CI systems we would need to figure out which type checker we'd want to use.
I think the most common python type checkers are mypy and pyright, although others exist as well.
Once we have that setup and configured we likely need to update lldb/test/requirements.txt to include the type checker and likely the type_extensions
library, which is a library that back ports type helpers to older versions of python.