microsoft / microsoft/vscode-mypy
`--ignore-missing-imports` not working for all imports
Open
@karthiknadig is already working on this.
Since Nov 3, 2023.
bug
needs PR
- Dominant language
- Python
- Stars
- 150
- Forks
- 39
- Avg merge
- 21h 45m
- Merged PRs (30d)
- 8
Description
Using settings:
"mypy-type-checker.args": ["--ignore-missing-imports"],
Error still occurs for the requests package in this code snippet:
import requests
from bs4 import BeautifulSoup
response = requests.get("https://www.google.com", timeout=5)
soup = BeautifulSoup(response.text, "html.parser")
In IDE interface:
When executing from the CLI with the same flag, functions as expected:
C:\DT\General Programming>mypy scratchpad.py --ignore-missing-imports
Success: no issues found in 1 source file
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.