-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Needs decision 🔒Needs a decision before implemention or rejectionNeeds a decision before implemention or rejectionNeeds design proposal 🔒This is a huge feature, some discussion should happen before a PR is proposedThis is a huge feature, some discussion should happen before a PR is proposedProposal 📨
Description
Question
Would it be possible (or even make sense) to use to use the stubs from typeshed instead of the real libraries in pylint checks?
import requests
requests.get("https:")
returns
foo.py:3:0: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
with requests installed but nothing with just types-requests.
Documentation for future user
No idea, it would be nice to have an example in the tutorial using a third party library and explicitly saying you need to install it in order to provide more checks.
Additional context
No response
nickserv
Metadata
Metadata
Assignees
Labels
Needs decision 🔒Needs a decision before implemention or rejectionNeeds a decision before implemention or rejectionNeeds design proposal 🔒This is a huge feature, some discussion should happen before a PR is proposedThis is a huge feature, some discussion should happen before a PR is proposedProposal 📨