title: Type hints for lxml?
body: <p>New to Python and come from a statically typed language background. I want type hints for <a href="https://lxml.de" rel="noreferrer">https://lxml.de</a> just for ease of development (mypy flagging issues and suggesting methods would be nice!)</p>
  <p>To my knowledge, this is a python 2.0 module and doesn’t have types. Currently I’ve used <a href="https://mypy.readthedocs.io/en/stable/stubgen.html" rel="noreferrer">https://mypy.readthedocs.io/en/stable/stubgen.html</a> to create stub type definitions and filling in “any”-types I’m using with more information, but it’s <em>really</em> hacky. Are there any safer ways to get type hints?</p>