Include summary in --output=json
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
Feature
Standard output reports a summary:
Found 35 errors in 18 files (checked 36 source files)
This info is missing when --output json is used.
Pitch
There is no other reliable way to find out how many files mypy has actually checked.
I'm asked to include this info in IDE integration plugin I'm working on.
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.
Research direction
Start by tracing how mypy produces the standard output summary and how the --output json path formats results. Determine where the checked-file count and error summary are available, then make the JSON output include equivalent information. Done means IDE integrations can reliably obtain the number of checked files from JSON output and existing output behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100