Open Serhiy1 opened 3 years ago
This library has existed long before PEP 485 and those errors are not a priority for us to fix as they do not break and things work as they should. Further the annotations for requests are notoriously wrong
Low priority is no problem, I understand that this isn't a run time issue and if you ignore the warning everything works.
I'm Just reporting a user experience that initially very confusing and making a workaround publically available for anyone who is in a similar situation.
To be clear, images are:
You'd do better for others (assuming a type error in this scenario is actually confusing for them) by pasting actual text that a search on Google or GitHub could find
Fair point, the report has been updated.
To reproduce
"python.analysis.typeCheckingMode": "basic",
To settings.json# Type: ignore
comment