dmypy not respecting changes to inline mypy configuration
Open
Nobody has claimed this yet.
bug
topic-daemon
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
Bug Report
When using inline mypy rules (e.g. # mypy: ignore_errors) with dmypy, changes to the inline rule are not reflected in the output of dmypy.
To Reproduce
(Write your steps here:)
- Add
# mypy: ignore_errorsat the top of a file with errors - Start dmypy
- Remove
# mypy: ignore_errors
Expected Behavior
The errors should be displayed.
Actual Behavior
The errors are not displayed until dmypy is restarted.
Your Environment
- Mypy version used: 0.931
- Mypy command-line flags: N/A
- Mypy configuration options from
mypy.ini(and other config files): - Python version used: 3.9.9
- Operating system and version: N/A
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 reproducing the listed dmypy steps: add and remove # mypy: ignore_errors in a file with errors while the daemon is running. Read the dmypy handling of inline mypy rules and verify that changing the rule causes errors to appear without restarting dmypy.
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
- 45/100