python / python/mypy

Product output for all files checked

Open
#15,902 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Python
Stars
20.6k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

Feature

An option to have mypy output something for every file checked, regardless of whether any errors are detected.

Pitch

See this comment: https://github.com/python/mypy/pull/9672#pullrequestreview-521147219

This would make implementing the VSCode mypy extension a lot easier - right now errors aren't cleared - it would be great if there was an option to have mypy list the files it checked as part of a request.

See this PR/Description for a clear example of where this would be useful: https://github.com/microsoft/vscode-mypy/pull/123#issuecomment-1683010037

Perhaps an output like:

file.py:29:5:39:64: info: file found

Open to any suggestions though

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked mypy pull-request review and the vscode-mypy issue/PR description to understand the requested output contract. Trace mypy's existing diagnostic output and file-checking entry points; done means an opt-in mode reports every checked file, including files without errors, so editor errors can be cleared.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.