Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Fails with |
|
It seems that the lxml project instead recommends to use types-lxml instead: That said, I'm a bit wary to officially depend on a non-typeshed project that uses the |
|
Okay, but should I use then? If I don't add any subs it fails too :) |
|
One option is to just alias it for now: ET: TypeAlias = Any # lxml.etree._ElementTreeThis is the version I'm most comfortable with, considering that |
This comment has been minimized.
This comment has been minimized.
srittau
left a comment
There was a problem hiding this comment.
Thanks, looks mostly good. Two remarks.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
No description provided.