Type hints - #394
Type hints#394ahcorde wants to merge 2 commits into
Conversation
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
|
Tick the box to add this pull request to the merge queue (same as
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## rolling #394 +/- ##
===========================================
+ Coverage 88.18% 88.20% +0.01%
===========================================
Files 18 18
Lines 601 602 +1
Branches 53 53
===========================================
+ Hits 530 531 +1
Misses 52 52
Partials 19 19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Pulls: #394 |
fujitatomoya
left a comment
There was a problem hiding this comment.
does this actually pass mypy?
AFAIS, in lxml those are factory functions, not classes? the actual classes are etree._Element and etree._ElementTree. adding these type checks would look ugly a bit, but i believe those types should be used here?
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Description
Type hints
Did you use Generative AI?
Claude Opus 4.7