Closed last-partizan closed 11 months ago
And bson/pymongo already have typing, so i removed them from here.
Looks good, thank you for removing bson and pymongo, good to hear they have integrated type stubs!!
CI is a lil angry:
+ [[ -n true ]]
+ black --check .
would reformat /home/circleci/project/mongoengine-stubs/base.pyi
would reformat /home/circleci/project/typings/mongoengine/base.pyi
Oh no! 💥 💔 💥
2 files would be reformatted, 20 files would be left unchanged.
Exited with code exit status 1
All green, but that's a surprise, there should be 4 errors related to error: Mismatch between signature of __new__ and __init__
Don't merge this yet, i'll look into it.
Updated pyright, now it correctly reports those 4 errors.
Fixed it, now it's ready to merge @sbdchd ;)
Thank you!!
I fixed some type errors after pyright update, but there's some
Mismatch between signature of __new__ and __init__
left.But, that's better that completely broken ci :)