python / python/mypy

(🐞) dmypy includes stdlib files in it's source file count output

Open
#14,415 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug topic-daemon
Dominant language
Python
Stars
20.6k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

πŸ‘‰ New-Item test.py
πŸ‘‰ dmypy start
Daemon started
πŸ‘‰ dmypy check test.py
Success: no issues found in 46 source files
πŸ‘‰ dmypy check test.py
Success: no issues found in 1 source file

46 source files? Why would I care about stdlib files, normal mypy doesn't report this.

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

Reproduce the report with the shown New-Item, dmypy start, and dmypy check test.py commands, comparing the first and second checks. Trace dmypy’s source-file counting path and identify why standard-library files are included; done means the output for this one-file check reports only the relevant source file, consistently with mypy.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.