WebOb: Complete the stubs and activate stricter pyright config
This adds the final little bibs and bobs that were still missing.
I'll readily admit I went a little bit insane writing the stubs for webob.dec.wsgify, so reviewing this one might be a little tough, I did add some tests though to increase confidence, source code can be found here:
https://github.com/Pylons/webob/blob/1.8.7/src/webob/dec.py
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
I'll have a look at what pyright is unhappy with in the test cases later.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉
Do you have a minimal repro of the pyright issue that caused you to comment out some cases? I tried a simpler version in the pyright playground but couldn't reproduce it.
Unfortunately I cannot reproduce it with a simpler version on pyright playground either